summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-10-25 17:15:47 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-10-26 18:32:24 -0700
commiteb54db3b4c573cea9b7fd7505ed183696d1d2559 (patch)
treef6ecdeb0ac6098b72d904e0cb051e70fc9da59f1
parentcbb0587fef870b145ac4d9329a05b1c6a79b5ddd (diff)
xfs: enable atomic swapext featureatomic-file-updates_2020-10-26
Add the atomic swapext feature to the set of features that we will permit. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
-rw-r--r--fs/xfs/libxfs/xfs_format.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h
index 7ad26df6e304..c6a3e71f99eb 100644
--- a/fs/xfs/libxfs/xfs_format.h
+++ b/fs/xfs/libxfs/xfs_format.h
@@ -484,7 +484,8 @@ xfs_sb_has_incompat_feature(
}
#define XFS_SB_FEAT_INCOMPAT_LOG_ATOMIC_SWAP (1 << 0)
-#define XFS_SB_FEAT_INCOMPAT_LOG_ALL 0
+#define XFS_SB_FEAT_INCOMPAT_LOG_ALL \
+ (XFS_SB_FEAT_INCOMPAT_LOG_ATOMIC_SWAP)
#define XFS_SB_FEAT_INCOMPAT_LOG_UNKNOWN ~XFS_SB_FEAT_INCOMPAT_LOG_ALL
static inline bool
xfs_sb_has_incompat_log_feature(