From: majianpeng Date: Tue, 13 Mar 2012 00:21:23 +0000 (+1100) Subject: md: Use existed macros instead of numbers X-Git-Tag: MMI-PSA29.97-13-9~17229^2~18 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43437ecd5adc8bd712b7140c8a70e2b4a80a89dd;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git md: Use existed macros instead of numbers Signed-off-by: majianpeng Signed-off-by: NeilBrown --- 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