freebsd-nq/sys/fs
Konstantin Belousov 2d1e4220eb tmpfs_reclaim: detach unlinked node on dereferencing.
Otherwise it is dereferenced one extra time at unmount, if it survives
long enough.  One way to hold the reference on such node is to keep it
open.

tmpfs_vptocnp() now needs to account for the possibility that unlocked
node was removed from the list.

Reported by:	danfe
Tested by:	danfe, pho
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
2021-01-14 14:51:37 +02:00
..
autofs
cd9660
cuse
deadfs
devfs
ext2fs
fdescfs Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
fifofs
fuse Fix vnode locking bug in fuse_vnop_copy_file_range 2021-01-03 11:16:20 -07:00
mntfs
msdosfs
nfs
nfsclient Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
nfsserver Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
nullfs
procfs
pseudofs
smbfs
tmpfs tmpfs_reclaim: detach unlinked node on dereferencing. 2021-01-14 14:51:37 +02:00
udf
unionfs