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
..
2001-04-07 11:21:35 +00:00
2001-04-19 01:39:27 +00:00
2001-04-08 18:41:22 +00:00
2001-04-08 18:41:22 +00:00
2001-04-18 15:54:10 +00:00
2001-05-22 10:33:43 +00:00
2001-04-18 15:54:10 +00:00
2001-04-24 10:26:00 +00:00
2001-04-07 11:21:35 +00:00
2001-04-10 16:29:41 +00:00