freebsd-src/sys/fs/tmpfs
Konstantin Belousov 4681194979 tmpfs_destroy_vobject(): clear v_object under the object lock
Which allows tmpfs_pager_writecount_recalc() to reliably detect
reclaimed vnode and make its accesses to object->un_pager.swp.private
(== vp) safe against reclaim.  Note that vnode instantiation already
assigns v_object under the object lock.

Reviewed by:	markj
Reported and tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D45119
2024-05-13 21:33:59 +03:00
..
tmpfs.h tmpfs: increase vfs.tmpfs.memory_percent to 100 as workaround 2024-01-23 12:46:31 -06:00
tmpfs_fifoops.c sys: Remove $FreeBSD$: two-line .c pattern 2023-08-16 11:54:30 -06:00
tmpfs_fifoops.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
tmpfs_subr.c tmpfs_destroy_vobject(): clear v_object under the object lock 2024-05-13 21:33:59 +03:00
tmpfs_vfsops.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
tmpfs_vnops.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
tmpfs_vnops.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00