opnsense-src/sys/fs/tmpfs
Konstantin Belousov c5dac63c15 tmpfs_readdir(): unlock the locked node.
During readdir() we guarantee that the tn_dir.tn_parent does not go
away, but it might be replaced by a parallel rename.  Read tn_parent
only once, then use the cached value.

Reported and tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2019-10-03 19:55:05 +00:00
..
tmpfs.h tmpfs: ignore tmpfs_set_status() if mount point is read-only. 2019-04-02 13:49:32 +00:00
tmpfs_fifoops.c tmpfs: ignore tmpfs_set_status() if mount point is read-only. 2019-04-02 13:49:32 +00:00
tmpfs_fifoops.h sys/fs: further adoption of SPDX licensing ID tags. 2017-11-27 15:15:37 +00:00
tmpfs_subr.c tmpfs_readdir(): unlock the locked node. 2019-10-03 19:55:05 +00:00
tmpfs_vfsops.c Fix an issue with executing tmpfs binary. 2019-08-18 20:36:11 +00:00
tmpfs_vnops.c tmpfs_rename: style. 2019-10-03 19:51:56 +00:00
tmpfs_vnops.h Rework pathconf handling for FIFOs. 2017-12-19 22:39:05 +00:00