freebsd-nq/sys/fs/fdescfs
Konstantin Belousov 4fc4286fbc Some fixes for fdescfs lookup code.
Do not ever return doomed vnode from lookup.  This could happen, if
not checked, since dvp is relocked in the 'looking up ourselves' case.

In the other case, since dvp is relocked, mount point might go away
while fdesc_allocvp() is called.  Prevent the situation by doing
vfs_busy() before unlocking dvp.  Reuse the vn_vget_ino_gen() helper.

Reported and tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2015-02-28 19:57:22 +00:00
..
fdesc_vfsops.c Add allow.mount.fdescfs jail flag. 2015-01-28 21:08:09 +00:00
fdesc_vnops.c Some fixes for fdescfs lookup code. 2015-02-28 19:57:22 +00:00
fdesc.h