freebsd-dev/sys/fs/fuse
Alan Somers 35cf0e7e56 fusefs: fix a panic in VOP_READDIR
The original fusefs import, r238402, contained a bug in fuse_vnop_close that
could close a directory's file handle while there were still other open file
descriptors.  The code looks deliberate, but there is no explanation for it.
This necessitated a workaround in fuse_vnop_readdir that would open a new
file handle if, "for some mysterious reason", that vnode didn't have any
open file handles.  r345781 had the effect of causing the workaround to
panic, making the problem more visible.

This commit removes the workaround and the original bug, which also fixes
the panic.

Sponsored by:	The FreeBSD Foundation
2019-04-03 20:57:43 +00:00
..
fuse_device.c fuse(4): convert debug printfs into dtrace probes 2019-02-28 19:27:54 +00:00
fuse_file.c fusefs: send FUSE_FLUSH during VOP_CLOSE 2019-04-03 19:59:45 +00:00
fuse_file.h fusefs: send FUSE_FLUSH during VOP_CLOSE 2019-04-03 19:59:45 +00:00
fuse_internal.c fusefs: replace obsolete array idioms 2019-04-01 14:23:43 +00:00
fuse_internal.h fusefs: delete dead code in fuse_vnop_setattr 2019-03-27 16:19:02 +00:00
fuse_io.c fusefs: send FUSE_FLUSH during VOP_CLOSE 2019-04-03 19:59:45 +00:00
fuse_io.h fusefs: send FUSE_OPEN for every open(2) with unique credentials 2019-04-01 20:42:15 +00:00
fuse_ipc.c MFHead @345353 2019-03-20 23:32:37 +00:00
fuse_ipc.h fuse(4): remove more debugging printfs 2019-03-19 17:49:15 +00:00
fuse_kernel.h fuse(4): add tests related to FUSE_MKNOD 2019-03-05 00:27:54 +00:00
fuse_main.c MFHead @345353 2019-03-20 23:32:37 +00:00
fuse_node.c fusefs: send FUSE_FLUSH during VOP_CLOSE 2019-04-03 19:59:45 +00:00
fuse_node.h fusefs: send FUSE_OPEN for every open(2) with unique credentials 2019-04-01 20:42:15 +00:00
fuse_vfsops.c fusefs: delete dead code 2019-03-26 03:02:45 +00:00
fuse_vnops.c fusefs: fix a panic in VOP_READDIR 2019-04-03 20:57:43 +00:00
fuse.h MFHead @345353 2019-03-20 23:32:37 +00:00