From: Darrick J. Wong <djwong@xxxxxxxxxx> Set the correct superblock field for the exchange-range feature upgrade. Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> --- repair/phase2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }