freebsd-dev/usr.sbin/mountd
Konstantin Belousov 5d6f5b24ca Mountd iterating over the mount points may race with the parallel
unmount, which causes error from nmount(2) call when performing
MNT_DELEXPORT over the directory which ceased to be a mount point.

The race is legitimate and innocent, but results in the chatty mountd.
Silence it by providing an distinguished error code for the situation,
and ignoring the error in mountd loop.

Based on the patch by:	Andreas Longwitz <longwitz@incore.de>
Prodded and tested by:	bdrewery
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2015-02-10 18:00:32 +00:00
..
exports.5 Try to clarify how file systems are exported for NFSv4. 2014-08-14 22:52:05 +00:00
Makefile Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mountd.8 Add a description for the '-S' option to the mountd man page. 2012-10-15 00:24:23 +00:00
mountd.c Mountd iterating over the mount points may race with the parallel 2015-02-10 18:00:32 +00:00
netgroup.5
pathnames.h