diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2020-11-24 20:45:55 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2020-12-09 18:49:38 +0100 |
commit | 96f65bad7c31557c28468ba8c1896c7dd7a6bbfa (patch) | |
tree | b9689a12f860582f01c9053b0fd3f9a09dea0983 /fs/xfs | |
parent | xfs: define a new "needrepair" feature (diff) | |
download | linux-96f65bad7c31557c28468ba8c1896c7dd7a6bbfa.tar.xz linux-96f65bad7c31557c28468ba8c1896c7dd7a6bbfa.zip |
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>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/libxfs/xfs_format.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index 5d8ba609ac0b..f64eed3ccfed 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/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 |