]> err.no Git - linux-2.6/commitdiff
ocfs2: Synchronize feature incompat flags in ocfs2_fs.h
authorMark Fasheh <mark.fasheh@oracle.com>
Fri, 8 Dec 2006 02:05:37 +0000 (18:05 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 8 Dec 2006 02:05:37 +0000 (18:05 -0800)
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>
fs/ocfs2/ocfs2_fs.h

index 2e90e89f1602f835205329ebe00e51ed29ddf54f..b5c68567077ecaab02bfd0dd903d24f12e13eb56 100644 (file)
  */
 #define OCFS2_FEATURE_INCOMPAT_HEARTBEAT_DEV   0x0002
 
+/*
+ * tunefs sets this incompat flag before starting the resize and clears it
+ * at the end. This flag protects users from inadvertently mounting the fs
+ * after an aborted run without fsck-ing.
+ */
+#define OCFS2_FEATURE_INCOMPAT_RESIZE_INPROG    0x0004
 
 /* Used to denote a non-clustered volume */
 #define OCFS2_FEATURE_INCOMPAT_LOCAL_MOUNT     0x0008
 
+/* Support for sparse allocation in b-trees */
+#define OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC    0x0010
+
 /*
  * Flags on ocfs2_dinode.i_flags
  */