]> git.decadent.org.uk Git - nfs-utils.git/commit - utils/mountd/cache.c
mountd - improve checks and error messages for export failure.
authorNeil Brown <neilb@suse.de>
Mon, 2 Apr 2007 03:26:01 +0000 (13:26 +1000)
committerNeil Brown <neilb@suse.de>
Mon, 2 Apr 2007 03:26:01 +0000 (13:26 +1000)
commitc57ae7ee252e665fcc515ae938f0e78ce1d736e9
tree6822f01a1a70e8d6e13f2adc6dfeca032d26f641
parentdda3455d8b96a7b078bc00c113e1af15ed421d5b
mountd - improve checks and error messages for export failure.

If an attempt is made to export a non-(dir|file), just ignore it.
This should get caught by exportfs.

If an attempt is made to export a non-exportable filesystem, report
an error.  Hopefully exportfs can trap some these as well, but
catching them in mountd as well is good.

Signed-off-by: Neil Brown <neilb@suse.de>
utils/mountd/cache.c