Skip to content

Commit 96f65ba

Browse files
committed
xfs: enable the needsrepair feature
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 <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
1 parent 80c720b commit 96f65ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fs/xfs/libxfs/xfs_format.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,8 @@ xfs_sb_has_ro_compat_feature(
473473
(XFS_SB_FEAT_INCOMPAT_FTYPE| \
474474
XFS_SB_FEAT_INCOMPAT_SPINODES| \
475475
XFS_SB_FEAT_INCOMPAT_META_UUID| \
476-
XFS_SB_FEAT_INCOMPAT_BIGTIME)
476+
XFS_SB_FEAT_INCOMPAT_BIGTIME| \
477+
XFS_SB_FEAT_INCOMPAT_NEEDSREPAIR)
477478

478479
#define XFS_SB_FEAT_INCOMPAT_UNKNOWN ~XFS_SB_FEAT_INCOMPAT_ALL
479480
static inline bool

0 commit comments

Comments
 (0)