From 25d94d8a188ce3cade4d9ee8ab3b032ca0dccdc4 Mon Sep 17 00:00:00 2001
From: wguanghao <wuguanghao3@huawei.com>
Date: Mon, 19 Jun 2023 11:12:43 +0800
Subject: [PATCH] mkfs.xfs: disable inobtcount feature

In the 5.10 kernel, XFS inobtcount is consisdered a risky
feature and isn't yet stable. 

So it's disabled by default.

Signed-off-by: Wu Guanghao <wuguanghao3@huawei.com>
---
 mkfs/xfs_mkfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c
index 13359d9..b7e335f 100644
--- a/mkfs/xfs_mkfs.c
+++ b/mkfs/xfs_mkfs.c
@@ -3886,7 +3886,7 @@ main(
 			.spinodes = true,
 			.rmapbt = false,
 			.reflink = true,
-			.inobtcnt = true,
+			.inobtcnt = false,
 			.parent_pointers = false,
 			.nodalign = false,
 			.nortalign = false,
-- 
2.33.0

