[Bug 266886] [FUSEFS] Handling of l_whence with fcntl(F_GETLK)
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 266886] [FUSEFS] Handling of l_whence with fcntl(F_GETLK)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Oct 2022 03:37:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266886 Alan Somers <asomers@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #3 from Alan Somers <asomers@FreeBSD.org> --- (In reply to John Millikin from comment #2) Ok, I agree. As the man page says, l_whence should be set to SEEK_SET on return from a successful F_GETLK operation. After all, it's describing some other lock, not the one you queried about. However, I don't see any reason why l_whence should be set to SEEK_SET on return from F_SETLK or F_SETLKW. (There's a separate problem with SEEK_END and F_SETLK, which I'll fix. fusefs doesn't correct the offset passed to the daemon.) -- You are receiving this mail because: You are the assignee for the bug.