diff options
| author | Jakob Unterwurzacher | 2026-02-01 20:05:13 +0100 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2026-02-01 20:05:13 +0100 |
| commit | ed5f8487b15f1d9cd83b4b0a4220271b6c5f189e (patch) | |
| tree | 57934e7c337865e37aa5e12434d637315d293b21 /internal/syscallcompat/quirks_linux.go | |
| parent | 5ac1a51acdcc8626d536e324b1e03e2b8554ba50 (diff) | |
syscallcompat: DetectQuirks: suppress Btrfs message when -noprealloc has been passed
Reported by @Tunoac, https://github.com/rfjakob/gocryptfs/issues/395#issuecomment-3828507487
Diffstat (limited to 'internal/syscallcompat/quirks_linux.go')
| -rw-r--r-- | internal/syscallcompat/quirks_linux.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
