From: Darrick J. Wong Date: Mon, 29 Jul 2024 23:23:22 +0000 (-0700) Subject: xfs_db: report parent pointers in version command X-Git-Tag: v6.10.0~8^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5c47fe434c6a65b6c7aeaa4b291932e4d0ce56c;p=thirdparty%2Fxfsprogs-dev.git xfs_db: report parent pointers in version command Report the presents of PARENT pointers from the version subcommand. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig --- diff --git a/db/sb.c b/db/sb.c index c3901163..7836384a 100644 --- a/db/sb.c +++ b/db/sb.c @@ -708,6 +708,8 @@ version_string( strcat(s, ",NREXT64"); if (xfs_has_exchange_range(mp)) strcat(s, ",EXCHANGE"); + if (xfs_has_parent(mp)) + strcat(s, ",PARENT"); return s; }