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>
This commit is contained in:
@ -473,7 +473,8 @@ xfs_sb_has_ro_compat_feature(
|
|||||||
(XFS_SB_FEAT_INCOMPAT_FTYPE| \
|
(XFS_SB_FEAT_INCOMPAT_FTYPE| \
|
||||||
XFS_SB_FEAT_INCOMPAT_SPINODES| \
|
XFS_SB_FEAT_INCOMPAT_SPINODES| \
|
||||||
XFS_SB_FEAT_INCOMPAT_META_UUID| \
|
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
|
#define XFS_SB_FEAT_INCOMPAT_UNKNOWN ~XFS_SB_FEAT_INCOMPAT_ALL
|
||||||
static inline bool
|
static inline bool
|
||||||
|
Reference in New Issue
Block a user