freebsd-dev/sys/fs
Rick Macklem 10dff9da97 nfsd: Return ENXIO instead of EPERM when nfsd(8) already running
The nfsd(8) daemon generates an error message that does not
indicate that the nfsd daemon is already running when the nfssvc(2)
syscall fails for the NFSSVC_STABLERESTART.  Also, the check for
running nfsd(8) in a vnet prison will return EPERM when it fails.

This patch replaces EPERM with ENXIO so that the nfsd(8) daemon
can generate more reasonable failure messages.  The nfsd(8) daemon
will be patched in a future commit.

MFC after:	3 months
2023-02-22 13:19:07 -08:00
..
autofs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
cd9660 Stop cleaning MNT_LOCAL on unmount 2023-01-14 20:28:11 +02:00
cuse cuse(3): Cosmetic change about testing boolean values. 2022-10-04 13:51:06 +02:00
deadfs
devfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
ext2fs Fix block bitmap end position computation 2023-01-29 11:11:02 +03:00
fdescfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
fifofs fifofs: ansify 2023-02-07 23:18:51 +00:00
fuse fusefs: fix some resource leaks 2023-02-14 14:19:59 -07:00
mntfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00
msdosfs msdosfs deextend: validate pages of the partial buffer 2023-02-14 00:29:42 +02:00
nfs nfscommon: Use IS_DEFAULT_VNET() in the vnet initialization 2023-02-20 19:43:37 -08:00
nfsclient nfscl: Add NFSD_CURVNET macros to nfsclient syscall 2023-02-20 16:40:07 -08:00
nfsserver nfsd: Return ENXIO instead of EPERM when nfsd(8) already running 2023-02-22 13:19:07 -08:00
nullfs nullfs: ansify 2023-02-07 23:22:27 +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 smbfs: ansify 2023-02-07 23:35:11 +00:00
tarfs tarfs: Really prevent descending into a non-directory. 2023-02-20 21:29:19 +00:00
tmpfs tmpfs: remove IFF macro 2023-02-15 02:57:41 +02:00
udf udf: ansify 2023-02-07 23:24:24 +00:00
unionfs vfs: add the concept of vnode state transitions 2022-12-26 17:35:12 +00:00