File xfsprogs-mkfs-disable-reflink-support-by-default.patch of Package xfsprogs.33146

From 4e4a3885cf4efebdbb4551c1da6b9723c5c15ac9 Mon Sep 17 00:00:00 2001
From: Anthony Iliopoulos <ailiop@suse.com>
Date: Wed, 28 Jul 2021 20:36:40 +0200
Subject: [PATCH] mkfs: disable reflink support by default
References: jsc#sle-17360

Do not format xfs filesystems with reflink support by default, as the
feature is read-only compatible, and read-write compatibility is
required to be maintained within product stream (SLE15).

Signed-off-by: Anthony Iliopoulos <ailiop@suse.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 f84a42f9830c..d0479f35b0e2 100644
--- a/mkfs/xfs_mkfs.c
+++ b/mkfs/xfs_mkfs.c
@@ -3847,7 +3847,7 @@ main(
 			.finobt = true,
 			.spinodes = true,
 			.rmapbt = false,
-			.reflink = true,
+			.reflink = false,
 			.inobtcnt = false,
 			.parent_pointers = false,
 			.nodalign = false,
-- 
2.32.0

openSUSE Build Service is sponsored by