aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2006-12-07 21:05:37 -0500
committerMark Fasheh <mark.fasheh@oracle.com>2006-12-07 21:05:37 -0500
commit8903901dbf46bbdf1f70ffe7bc09cb6b97e6728a (patch)
tree1795fd49cd80d53a597ea102f3f296afaa5d99bc
parentbcd5625bffe103efa7413bb6432fc871074a19c2 (diff)
ocfs2: Synchronize feature incompat flags in ocfs2_fs.h
These got a little bit out of date with ocfs2-tools, make things consistent again. We reserve a flag for sparse allocation code as that's pretty close to testable at this point. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
-rw-r--r--fs/ocfs2/ocfs2_fs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h
index 2e90e89f1602..b5c68567077e 100644
--- a/fs/ocfs2/ocfs2_fs.h
+++ b/fs/ocfs2/ocfs2_fs.h
@@ -96,10 +96,19 @@
96 */ 96 */
97#define OCFS2_FEATURE_INCOMPAT_HEARTBEAT_DEV 0x0002 97#define OCFS2_FEATURE_INCOMPAT_HEARTBEAT_DEV 0x0002
98 98
99/*
100 * tunefs sets this incompat flag before starting the resize and clears it
101 * at the end. This flag protects users from inadvertently mounting the fs
102 * after an aborted run without fsck-ing.
103 */
104#define OCFS2_FEATURE_INCOMPAT_RESIZE_INPROG 0x0004
99 105
100/* Used to denote a non-clustered volume */ 106/* Used to denote a non-clustered volume */
101#define OCFS2_FEATURE_INCOMPAT_LOCAL_MOUNT 0x0008 107#define OCFS2_FEATURE_INCOMPAT_LOCAL_MOUNT 0x0008
102 108
109/* Support for sparse allocation in b-trees */
110#define OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC 0x0010
111
103/* 112/*
104 * Flags on ocfs2_dinode.i_flags 113 * Flags on ocfs2_dinode.i_flags
105 */ 114 */