diff options
| author | Jakob Unterwurzacher | 2026-07-16 20:47:57 +0200 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2026-07-16 22:07:54 +0200 |
| commit | b89f0dc94bd83857b187a84a0d4ae127000f0b1c (patch) | |
| tree | d3e9a831e7a3f9a2e5872549ca052745c0e6cc04 /internal/syscallcompat | |
| parent | bb68ca2aa7da9e166dca45979ff9932e05248370 (diff) | |
fusefrontend: LockSharedStorage: loop on EINTR, add debug output
Diffstat (limited to 'internal/syscallcompat')
| -rw-r--r-- | internal/syscallcompat/sys_darwin.go | 1 | ||||
| -rw-r--r-- | internal/syscallcompat/sys_linux.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/internal/syscallcompat/sys_darwin.go b/internal/syscallcompat/sys_darwin.go index 17e6a9e..07eb30a 100644 --- a/internal/syscallcompat/sys_darwin.go +++ b/internal/syscallcompat/sys_darwin.go @@ -37,6 +37,7 @@ const ( // F_OFD_SETLKW only exists on Linux. On Darwin, fall back to F_SETLKW as a // flawed replacement. F_OFD_SETLKW = unix.F_SETLKW + F_OFD_SETLK = unix.F_SETLK ) // Unfortunately fsetattrlist does not have a syscall wrapper yet. diff --git a/internal/syscallcompat/sys_linux.go b/internal/syscallcompat/sys_linux.go index 51a2c09..2b8a6f7 100644 --- a/internal/syscallcompat/sys_linux.go +++ b/internal/syscallcompat/sys_linux.go @@ -39,6 +39,7 @@ const ( // F_OFD_SETLKW only exists on Linux. On Darwin, fall back to F_SETLKW as a // flawed replacement. F_OFD_SETLKW = unix.F_OFD_SETLKW + F_OFD_SETLK = unix.F_OFD_SETLK ) var preallocWarn sync.Once |
