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