xfs
[Top] [All Lists]

[PATCH 09/12] xfsprogs: enable the finobt feature on v5 superblocks

To: xfs@xxxxxxxxxxx
Subject: [PATCH 09/12] xfsprogs: enable the finobt feature on v5 superblocks
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Thu, 10 Oct 2013 11:51:09 -0400
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1381420272-13249-1-git-send-email-bfoster@xxxxxxxxxx>
References: <1381420272-13249-1-git-send-email-bfoster@xxxxxxxxxx>
Add the finobt feature bit to the list of known features. As of
this point, the kernel code knows how to mount and manage both
finobt and non-finobt formatted filesystems.

Signed-off-by: Brian Foster <bfoster@xxxxxxxxxx>
---
 include/xfs_sb.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/xfs_sb.h b/include/xfs_sb.h
index 83e037b..a0861f5 100644
--- a/include/xfs_sb.h
+++ b/include/xfs_sb.h
@@ -584,7 +584,8 @@ xfs_sb_has_compat_feature(
 }
 
 #define XFS_SB_FEAT_RO_COMPAT_FINOBT   (1 << 0)                /* free inode 
btree */
-#define XFS_SB_FEAT_RO_COMPAT_ALL 0
+#define XFS_SB_FEAT_RO_COMPAT_ALL \
+               (XFS_SB_FEAT_RO_COMPAT_FINOBT)
 #define XFS_SB_FEAT_RO_COMPAT_UNKNOWN  ~XFS_SB_FEAT_RO_COMPAT_ALL
 static inline bool
 xfs_sb_has_ro_compat_feature(
-- 
1.8.1.4

<Prev in Thread] Current Thread [Next in Thread>