Message ID | 172783103393.4038674.368177237231285654.stgit@frogsfrogsfrogs (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [1/4] xfs_repair: fix exchrange upgrade | expand |
On Tue, Oct 01, 2024 at 06:25:47PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@kernel.org> > > Set the correct superblock field for the exchange-range feature upgrade. Looks good: Reviewed-by: Christoph Hellwig <hch@lst.de>
diff --git a/repair/phase2.c b/repair/phase2.c index 3418da523..e50cd3f8c 100644 --- a/repair/phase2.c +++ b/repair/phase2.c @@ -205,7 +205,7 @@ set_exchrange( } printf(_("Adding file exchange-range support to filesystem.\n")); - new_sb->sb_features_ro_compat |= XFS_SB_FEAT_INCOMPAT_EXCHRANGE; + new_sb->sb_features_incompat |= XFS_SB_FEAT_INCOMPAT_EXCHRANGE; new_sb->sb_features_incompat |= XFS_SB_FEAT_INCOMPAT_NEEDSREPAIR; return true; }