summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2014-04-24 16:01:42 +1000
committerDave Chinner <david@fromorbit.com>2014-04-24 16:01:42 +1000
commit53801fd97ae000793f51187b122b9475102199a8 (patch)
tree0ea25a3384749e4b759c9fbf6688ad267fe8267a /fs
parent0c153c1e4326725e9d5e9de6a25fe8ec2353d5ee (diff)
downloadop-kernel-dev-53801fd97ae000793f51187b122b9475102199a8.zip
op-kernel-dev-53801fd97ae000793f51187b122b9475102199a8.tar.gz
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>
Diffstat (limited to 'fs')
-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 7f53a858..950d1ea 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(
OpenPOWER on IntegriCloud