freebsd-dev/usr.sbin/mountd
Ian Dowse 5f558fa42f Since the netexport struct was centralised to 'struct mount',
attempting to remove nonexistant exports with MNT_DELEXPORT returns
an error; before this change it always succeeded. This caused
mountd(8) to log "can't delete exports for /whatever" warnings.

Change the error code from EINVAL to a more specific ENOENT, and
make mountd ignore this error when deleting the export list. I
could have just restored the previous behaviour of returning success,
but I think an error return is a useful diagnostic.

Reviewed by:	phk
2001-05-29 17:46:52 +00:00
..
exports.5 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
Makefile - Backout botched attempt to introduce MANSECT feature. 2001-03-26 14:33:27 +00:00
mountd.8 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
mountd.c Since the netexport struct was centralised to 'struct mount', 2001-05-29 17:46:52 +00:00
netgroup.5 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
pathnames.h