[Ocfs2-tools-devel] [PATCH 04/10] tunefs.ocfs2: query now understands inline data
Tao Ma
tao.ma at oracle.com
Thu Jul 10 23:20:57 PDT 2008
From: Sunil Mushran <sunil.mushran at oracle.com>
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
include/ocfs2/ocfs2.h | 1 +
tunefs.ocfs2/query.c | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/ocfs2/ocfs2.h b/include/ocfs2/ocfs2.h
index cd14153..296a135 100644
--- a/include/ocfs2/ocfs2.h
+++ b/include/ocfs2/ocfs2.h
@@ -78,6 +78,7 @@
#define OCFS2_FEATURE_INCOMPAT_LOCAL_MOUNT_STR "Local"
#define OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC_STR "SparseAlloc"
#define OCFS2_FEATURE_INCOMPAT_EXTENDED_SLOT_MAP_STR "ExtendedSlotMap"
+#define OCFS2_FEATURE_INCOMPAT_INLINE_DATA_STR "InlineData"
#define OCFS2_FEATURE_INCOMPAT_TUNEFS_INPROG_STR "TunefsAbort"
#define OCFS2_FEATURE_COMPAT_BACKUP_SB_STR "BackupSuper"
#define OCFS2_FEATURE_RO_COMPAT_UNWRITTEN_STR "UnwrittenExtents"
diff --git a/tunefs.ocfs2/query.c b/tunefs.ocfs2/query.c
index ca79930..8aeaec4 100644
--- a/tunefs.ocfs2/query.c
+++ b/tunefs.ocfs2/query.c
@@ -51,11 +51,13 @@ static void incompat_flag_in_str(uint32_t flag, GString *str)
prepend_flgstr(flag, OCFS2_FEATURE_INCOMPAT_RESIZE_INPROG, str, " ");
prepend_flgstr(flag, OCFS2_FEATURE_INCOMPAT_LOCAL_MOUNT, str, " ");
prepend_flgstr(flag, OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC, str, " ");
+ prepend_flgstr(flag, OCFS2_FEATURE_INCOMPAT_INLINE_DATA, str, " ");
if (flag & ~(OCFS2_FEATURE_INCOMPAT_HEARTBEAT_DEV |
OCFS2_FEATURE_INCOMPAT_RESIZE_INPROG |
OCFS2_FEATURE_INCOMPAT_LOCAL_MOUNT |
OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC |
+ OCFS2_FEATURE_INCOMPAT_INLINE_DATA |
OCFS2_FEATURE_INCOMPAT_TUNEFS_INPROG)) {
g_string_prepend(str, "Unknown ");
}
--
1.5.4.GIT
More information about the Ocfs2-tools-devel
mailing list