freebsd-src/sys/fs
Rick Macklem dcfa3ee44d nfsserver: Fix vrele() panic in nfsvno_open()
Commit 65127e982b removed a check for ni_startdir != NULL.
This allowed the vrele(ndp->ni_dvp) to be called with
a NULL argument.

This patch adds a new boolean argument to nfsvno_open()
that can be checked instead of ni_startdir, since mjg@ requested
that ni_startdir not be used. (Discussed in PR#268828.)

PR:	268828
Reviewed by:	mjg
Differential Revision:	https://reviews.freebsd.org/D38032
2023-01-12 16:48:53 -08:00
..
autofs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
cd9660 vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
cuse cuse(3): Cosmetic change about testing boolean values. 2022-10-04 13:51:06 +02:00
deadfs vn_open(): If the vnode is reclaimed during open(2), do not return error. 2021-02-12 03:02:20 +02:00
devfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
ext2fs Fix vop_readdir's ncookies handling in UFS and EXT2. 2023-01-01 19:30:14 -08:00
fdescfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
fifofs fifos: delegate unhandled kqueue filters to underlying filesystem 2021-10-12 02:43:07 -05:00
fuse vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
mntfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
msdosfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
nfs nfsserver: Fix vrele() panic in nfsvno_open() 2023-01-12 16:48:53 -08:00
nfsclient nfscl: Improve NFSv4 error message for NFSERR_WRONGSEC 2023-01-11 13:28:44 -08:00
nfsserver nfsserver: Fix vrele() panic in nfsvno_open() 2023-01-12 16:48:53 -08:00
nullfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
procfs vm_pager: Remove references to KVME_TYPE_DEFAULT in the kernel 2022-07-17 07:09:48 -04:00
pseudofs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
smbfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
tmpfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
udf vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
unionfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00