freebsd-skq/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
Makefile Convert usr.sbin to LIBADD 2014-11-25 16:57:27 +00:00
mountd.8
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