On 11/30/20 9:37 PM, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Make it so that libxfs recognizes the needsrepair feature. Note that > the kernel will still refuse to mount these. Not sure it needs to be a separate patch from the prior one, but it looks fine. Reviewed-by: Eric Sandeen <sandeen@xxxxxxxxxx> But maybe give me a chance to play with userspace in anger before you merge these? ;) > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > --- > fs/xfs/libxfs/xfs_format.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > > 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 >