File xfsprogs-mkfs-disable-inobtcnt-and-nrext64-features-by-defaul.patch of Package xfsprogs

From 6732a89aef9203d2e97574fecc4ccb3b0ac7f9d4 Mon Sep 17 00:00:00 2001
From: Anthony Iliopoulos <ailiop@suse.com>
Date: Tue, 5 Dec 2023 16:58:00 +0100
Subject: [PATCH] mkfs: disable inobtcnt and nrext64 features by default

Disable the inobtcount and nrext64 features by default. They are not
backwards compatible and we need to maintain read-write mount
compatibility across at least two SPs.

Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
---
 mkfs/xfs_mkfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: xfsprogs-6.6.0/mkfs/xfs_mkfs.c
===================================================================
--- xfsprogs-6.6.0.orig/mkfs/xfs_mkfs.c
+++ xfsprogs-6.6.0/mkfs/xfs_mkfs.c
@@ -4089,12 +4089,12 @@ main(
 			.spinodes = true,
 			.rmapbt = true,
 			.reflink = true,
-			.inobtcnt = true,
+			.inobtcnt = false,
 			.parent_pointers = false,
 			.nodalign = false,
 			.nortalign = false,
 			.bigtime = true,
-			.nrext64 = true,
+			.nrext64 = false,
 			/*
 			 * When we decide to enable a new feature by default,
 			 * please remember to update the mkfs conf files.
openSUSE Build Service is sponsored by