diff options
| author | Jakob Unterwurzacher | 2026-07-16 20:47:57 +0200 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2026-07-16 21:00:08 +0200 |
| commit | c3f386d511094362ad5bb28c3a5c6c4f52a77236 (patch) | |
| tree | e9cb083bb3674e05ea568f5ec695179f98cecf31 /internal/syscallcompat | |
| parent | 833103864f18a4e2f514d50d5816bdc2c03ab1e0 (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 |
