freebsd-dev/sys/fs/unionfs
Jason A. Harmening 0809172985 unionfs: fixes to unionfs_nodeget() error handling
If either the lower or upper vnode is found to be doomed after
locking it, the newly-created unionfs node won't be associated
with it and its lock will be dropped.  In that case, clear the
uppervp and lowervp locals as necessary to avoid further use
of the vnode in unionfs_nodeget().  If the upper vnode is doomed
but the lower vnode remains valid, additionally reset the unionfs
node's v_vnlock field to point to the lower vnode lock.

Reviewed by:	kib, markj
Tested by:	pho
Differential Revision:	https://reviews.freebsd.org/D39767
2023-05-07 18:30:43 -05:00
..
union_subr.c unionfs: fixes to unionfs_nodeget() error handling 2023-05-07 18:30:43 -05:00
union_vfsops.c unionfs: allow recursion on covered vnode lock during mount/unmount 2022-12-10 22:02:38 -06:00
union_vnops.c unionfs_mkdir(): handle dvp reclamation 2023-04-17 20:31:40 -05:00
union.h Remove unnecessary thread argument from unionfs_nodeget() and _noderem() 2021-12-07 16:20:02 -08:00