freebsd-nq/sys/fs/fuse
Alan Somers 18b19f8c6e fusefs: correctly set lock owner during FUSE_SETLK
During FUSE_SETLK, the owner field should uniquely identify the calling
process.  The fusefs module now sets it to the process's pid.
Previously, it expected the calling process to set it directly, which
was wrong.

libfuse also apparently expects the owner field to be set during
FUSE_GETLK, though I'm not sure why.

PR:		256005
Reported by:	Agata <chogata@moosefs.pro>
MFC after:	2 weeks
Reviewed by:	pfg
Differential Revision: https://reviews.freebsd.org/D30622
2021-06-25 20:40:08 -06:00
..
fuse_device.c Simplify fuse_device_filt_write 2021-06-16 15:54:24 -06:00
fuse_file.c fusefs: remove superfluous counter_u64_zero 2019-08-06 00:50:25 +00:00
fuse_file.h [skip ci] update copyright headers in fusefs files 2019-06-28 04:18:10 +00:00
fuse_internal.c fusefs: improve warnings about buggy FUSE servers 2021-06-16 13:31:31 -06:00
fuse_internal.h fusefs: implement FUSE_COPY_FILE_RANGE. 2021-01-01 10:18:23 -07:00
fuse_io.c fusefs: improve warnings about buggy FUSE servers 2021-06-16 13:31:31 -06:00
fuse_io.h [skip ci] update copyright headers in fusefs files 2019-06-28 04:18:10 +00:00
fuse_ipc.c fusefs: ensure that FUSE ops' headers' unique values are actually unique 2021-06-19 14:45:29 -06:00
fuse_ipc.h fusefs: delete dead code 2021-06-19 14:45:04 -06:00
fuse_kernel.h fusefs: implement FUSE_COPY_FILE_RANGE. 2021-01-01 10:18:23 -07:00
fuse_main.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (8 of many) 2020-02-24 10:33:51 +00:00
fuse_node.c vnode: move write cluster support data to inodes. 2021-02-21 11:38:21 +02:00
fuse_node.h vnode: move write cluster support data to inodes. 2021-02-21 11:38:21 +02:00
fuse_vfsops.c fusefs: improve warnings about buggy FUSE servers 2021-06-16 13:31:31 -06:00
fuse_vnops.c fusefs: correctly set lock owner during FUSE_SETLK 2021-06-25 20:40:08 -06:00
fuse.h [skip ci] update copyright headers in fusefs files 2019-06-28 04:18:10 +00:00