From ed5f8487b15f1d9cd83b4b0a4220271b6c5f189e Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 1 Feb 2026 20:05:13 +0100 Subject: syscallcompat: DetectQuirks: suppress Btrfs message when -noprealloc has been passed Reported by @Tunoac, https://github.com/rfjakob/gocryptfs/issues/395#issuecomment-3828507487 --- tests/root_test/btrfs_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/root_test/btrfs_test.go') diff --git a/tests/root_test/btrfs_test.go b/tests/root_test/btrfs_test.go index 4f2527a..72b7751 100644 --- a/tests/root_test/btrfs_test.go +++ b/tests/root_test/btrfs_test.go @@ -59,7 +59,7 @@ func TestBtrfsQuirks(t *testing.T) { defer syscall.Unmount(mnt, 0) quirk := syscallcompat.DetectQuirks(mnt) - if quirk != syscallcompat.QuirkBrokenFalloc { + if quirk != syscallcompat.QuirkBtrfsBrokenFalloc { t.Errorf("wrong quirk: %v", quirk) } } -- cgit v1.2.3