freebsd-dev/sys/fs/tmpfs
Matt Joras ba19246e07 Move clear_unrhdr to tmpfs_free_tmp.
Clearing the unr in tmpfs_unmount is not correct. In the case of
multiple references to the tmpfs mount (e.g. when there are lookup
threads using it) it will not be the one to finish tmpfs_free_tmp. In
those cases tmpfs_free_node_locked will be the final one to execute
tmpfs_free_tmp, and until then the unr must be valid.

Reported by:	pho
Approved/reviewed by:	rstone (mentor)
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D12749
2017-10-23 15:43:38 +00:00
..
tmpfs_fifoops.c Use tmpfs_print for tmpfs FIFOs. 2017-09-25 20:26:16 +00:00
tmpfs_fifoops.h
tmpfs_subr.c When unmounting a tmpfs, do not call free_unr. 2017-10-11 21:53:53 +00:00
tmpfs_vfsops.c Move clear_unrhdr to tmpfs_free_tmp. 2017-10-23 15:43:38 +00:00
tmpfs_vnops.c Return 64 for pathconf(_PC_FILESIZEBITS) on tmpfs. 2017-10-02 23:23:12 +00:00
tmpfs_vnops.h Use tmpfs_print for tmpfs FIFOs. 2017-09-25 20:26:16 +00:00
tmpfs.h Remove mistakenly merged field. 2017-01-19 20:03:26 +00:00