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 --- internal/syscallcompat/quirks_linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/syscallcompat/quirks_linux.go') diff --git a/internal/syscallcompat/quirks_linux.go b/internal/syscallcompat/quirks_linux.go index bcdcf07..87af03d 100644 --- a/internal/syscallcompat/quirks_linux.go +++ b/internal/syscallcompat/quirks_linux.go @@ -23,8 +23,8 @@ func DetectQuirks(cipherdir string) (q uint64) { // // Cast to uint32 avoids compile error on arm: "constant 2435016766 overflows int32" if uint32(st.Type) == unix.BTRFS_SUPER_MAGIC { - logQuirk("Btrfs detected, forcing -noprealloc. See https://github.com/rfjakob/gocryptfs/issues/395 for why.") - q |= QuirkBrokenFalloc + // LogQuirk is called in fusefrontend/root_node.go + q |= QuirkBtrfsBrokenFalloc } return q -- cgit v1.2.3