summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Foster2014-04-24 08:01:42 +0200
committerDave Chinner2014-04-24 08:01:42 +0200
commit53801fd97ae000793f51187b122b9475102199a8 (patch)
tree0ea25a3384749e4b759c9fbf6688ad267fe8267a
parentxfs: report finobt status in fs geometry (diff)
downloadkernel-qcow2-linux-53801fd97ae000793f51187b122b9475102199a8.tar.gz
kernel-qcow2-linux-53801fd97ae000793f51187b122b9475102199a8.tar.xz
kernel-qcow2-linux-53801fd97ae000793f51187b122b9475102199a8.zip
xfs: enable the finobt feature on v5 superblocks
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@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
-rw-r--r--fs/xfs/xfs_sb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/xfs_sb.h b/fs/xfs/xfs_sb.h
index 7f53a858e85b..950d1ea058b2 100644
--- a/fs/xfs/xfs_sb.h
+++ b/fs/xfs/xfs_sb.h
@@ -588,7 +588,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(