From: Darrick J. Wong Date: Mon, 29 Jul 2024 23:23:00 +0000 (-0700) Subject: xfs_db: advertise exchange-range in the version command X-Git-Tag: v6.10.0~23^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4bdbcab10e510c1ef5e69f5f18228b2832d164f;p=thirdparty%2Fxfsprogs-dev.git xfs_db: advertise exchange-range in the version command Amend the version command to advertise exchange-range support. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig --- diff --git a/db/sb.c b/db/sb.c index b48767f4..c3901163 100644 --- a/db/sb.c +++ b/db/sb.c @@ -706,6 +706,8 @@ version_string( strcat(s, ",NEEDSREPAIR"); if (xfs_has_large_extent_counts(mp)) strcat(s, ",NREXT64"); + if (xfs_has_exchange_range(mp)) + strcat(s, ",EXCHANGE"); return s; }