projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d4c7d8
)
md: Use existed macros instead of numbers
author
majianpeng
<majianpeng@gmail.com>
Tue, 13 Mar 2012 00:21:23 +0000
(11:21 +1100)
committer
NeilBrown
<neilb@suse.de>
Tue, 13 Mar 2012 00:21:23 +0000
(11:21 +1100)
Signed-off-by: majianpeng <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
include/linux/raid/md_p.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/raid/md_p.h
b/include/linux/raid/md_p.h
index 6f6df86f1ae511cfe2f2c439703cb33b67fae7cd..8c0a3adc5df5157becb340c7dabfe65b865f9558 100644
(file)
--- 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