summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorNeilBrown <neilb@cse.unsw.edu.au>2005-09-09 16:23:51 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 16:39:11 -0700
commit71c0805cb48462c99fbe0e5fcc6c12d7b9929c09 (patch)
treea6234c60b036ba05807bf649ffa7cf56eda13574 /include/linux
parent7b1e35f6d666693e8f376ce02242efca3ec09aaf (diff)
downloadop-kernel-dev-71c0805cb48462c99fbe0e5fcc6c12d7b9929c09.zip
op-kernel-dev-71c0805cb48462c99fbe0e5fcc6c12d7b9929c09.tar.gz
[PATCH] md: allow md to load a superblock with feature-bit '1' set
As this is used to flag an internal bitmap. Also, introduce symbolic names for feature bits. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/raid/md_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/raid/md_p.h b/include/linux/raid/md_p.h
index 4f047f8..c100fa5 100644
--- a/include/linux/raid/md_p.h
+++ b/include/linux/raid/md_p.h
@@ -238,5 +238,10 @@ struct mdp_superblock_1 {
__u16 dev_roles[0]; /* role in array, or 0xffff for a spare, or 0xfffe for faulty */
};
+/* feature_map bits */
+#define MD_FEATURE_BITMAP_OFFSET 1
+
+#define MD_FEATURE_ALL 1
+
#endif
OpenPOWER on IntegriCloud