https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253500

--- Comment #2 from Alan Somers <asom...@freebsd.org> ---
Kib's right.  The VOP_ADVLOCK interface isn't exactly the same as fcntl.  It's
not legal for op to be F_SETLKW.  Instead, it should be F_SETLK and the flags
field should contain F_WAIT.  You can fix this in fuse_vnop_advlock .  The
second problem is also likely caused by fuse_vnop_advlock, but I don't have
time to debug it right now.

If you're planning to submit a fix, could you please also fix and/or extend the
tests in tests/sys/fs/fusefs/locks.cc ?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to