DragonFlyBSD/src 89984f3 — sys/vfs/tmpfs tmpfs_subr.c tmpfs_vnops.c
tmpfs - Close rare vnode recycle race * Keep the node lock held when clearing tn_vnode in tmpfs_reclaim() to protect against a use-after-free race on tn_vnode against another thread. * Keep the node locked across the node type check and vnode ref in tmpfs_unmount() to protect against asynchronous reclamation races.
Delta | File | |
---|---|---|
+0 | -20 | sys/vfs/tmpfs/tmpfs_subr.c |
+4 | -2 | sys/vfs/tmpfs/tmpfs_vnops.c |
+2 | -2 | sys/vfs/tmpfs/tmpfs_vfsops.c |
+0 | -1 | sys/vfs/tmpfs/tmpfs.h |
+6 | -25 | 4 files |