From a4bdbcab10e510c1ef5e69f5f18228b2832d164f Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Mon, 29 Jul 2024 16:23:00 -0700 Subject: [PATCH] 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 --- db/sb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/db/sb.c b/db/sb.c index b48767f47..c39011634 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; } -- 2.39.5