From: Darrick J. Wong Date: Wed, 10 Aug 2016 04:52:38 +0000 (+1000) Subject: xfs: enable the rmap btree functionality X-Git-Tag: v4.8.0-rc1~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fc5f0e8527676885b77a8773d09785db700e201;p=thirdparty%2Fxfsprogs-dev.git xfs: enable the rmap btree functionality Source kernel commit: 1c0607ace9bd639d22ad1bd453ffeb7d55913f88 Originally-From: Dave Chinner Add the feature flag to the supported matrix so that the kernel can mount and use rmap btree enabled filesystems Signed-off-by: Dave Chinner [darrick.wong@oracle.com: move the experimental tag] Signed-off-by: Darrick J. Wong Reviewed-by: Brian Foster Signed-off-by: Dave Chinner --- diff --git a/libxfs/xfs_format.h b/libxfs/xfs_format.h index e0034d316..8ddbd1e2c 100644 --- a/libxfs/xfs_format.h +++ b/libxfs/xfs_format.h @@ -457,7 +457,8 @@ xfs_sb_has_compat_feature( #define XFS_SB_FEAT_RO_COMPAT_FINOBT (1 << 0) /* free inode btree */ #define XFS_SB_FEAT_RO_COMPAT_RMAPBT (1 << 1) /* reverse map btree */ #define XFS_SB_FEAT_RO_COMPAT_ALL \ - (XFS_SB_FEAT_RO_COMPAT_FINOBT) + (XFS_SB_FEAT_RO_COMPAT_FINOBT | \ + XFS_SB_FEAT_RO_COMPAT_RMAPBT) #define XFS_SB_FEAT_RO_COMPAT_UNKNOWN ~XFS_SB_FEAT_RO_COMPAT_ALL static inline bool xfs_sb_has_ro_compat_feature(