From: Darrick J. Wong Date: Thu, 7 Jan 2021 20:59:17 +0000 (-0500) Subject: xfs: enable the needsrepair feature X-Git-Tag: v5.11.0-rc0~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa9712a0d28909a5400f96394d46633978199020;p=thirdparty%2Fxfsprogs-dev.git xfs: enable the needsrepair feature Source kernel commit: 96f65bad7c31557c28468ba8c1896c7dd7a6bbfa Make it so that libxfs recognizes the needsrepair feature. Note that the kernel will still refuse to mount these. Signed-off-by: Darrick J. Wong Reviewed-by: Brian Foster Reviewed-by: Eric Sandeen Reviewed-by: Dave Chinner Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_format.h b/libxfs/xfs_format.h index 542e1979b..8497de6bd 100644 --- a/libxfs/xfs_format.h +++ b/libxfs/xfs_format.h @@ -473,7 +473,8 @@ xfs_sb_has_ro_compat_feature( (XFS_SB_FEAT_INCOMPAT_FTYPE| \ XFS_SB_FEAT_INCOMPAT_SPINODES| \ XFS_SB_FEAT_INCOMPAT_META_UUID| \ - XFS_SB_FEAT_INCOMPAT_BIGTIME) + XFS_SB_FEAT_INCOMPAT_BIGTIME| \ + XFS_SB_FEAT_INCOMPAT_NEEDSREPAIR) #define XFS_SB_FEAT_INCOMPAT_UNKNOWN ~XFS_SB_FEAT_INCOMPAT_ALL static inline bool