Date: Mon, 17 Oct 2022 03:37:13 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266886] [FUSEFS] Handling of l_whence with fcntl(F_GETLK) Message-ID: <bug-266886-227-MRoUQhG6pY@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-266886-227@https.bugs.freebsd.org/bugzilla/> References: <bug-266886-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266886 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. fus= efs doesn't correct the offset passed to the daemon.) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266886-227-MRoUQhG6pY>