diff options
author | 2012-03-13 11:21:23 +1100 | |
---|---|---|
committer | 2012-03-13 11:21:23 +1100 | |
commit | 43437ecd5adc8bd712b7140c8a70e2b4a80a89dd (patch) | |
tree | c1197d8be32da13c9285ff93eea3266e16fff38a /include/linux/raid | |
parent | md/raid5: removed unused 'added_devices' variable. (diff) | |
download | linux-43437ecd5adc8bd712b7140c8a70e2b4a80a89dd.tar.gz linux-43437ecd5adc8bd712b7140c8a70e2b4a80a89dd.tar.bz2 linux-43437ecd5adc8bd712b7140c8a70e2b4a80a89dd.zip |
md: Use existed macros instead of numbers
Signed-off-by: majianpeng <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'include/linux/raid')
-rw-r--r-- | include/linux/raid/md_p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/raid/md_p.h b/include/linux/raid/md_p.h index 6f6df86f1ae5..8c0a3adc5df5 100644 --- a/include/linux/raid/md_p.h +++ b/include/linux/raid/md_p.h @@ -281,6 +281,10 @@ struct mdp_superblock_1 { * active device with same 'role'. * 'recovery_offset' is also set. */ -#define MD_FEATURE_ALL (1|2|4|8|16) +#define MD_FEATURE_ALL (MD_FEATURE_BITMAP_OFFSET \ + |MD_FEATURE_RECOVERY_OFFSET \ + |MD_FEATURE_RESHAPE_ACTIVE \ + |MD_FEATURE_BAD_BLOCKS \ + |MD_FEATURE_REPLACEMENT) #endif |