mountd: better hiding of v4root exports from mountd clients
authorJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 13 Jan 2010 00:27:21 +0000 (19:27 -0500)
committerSteve Dickson <steved@redhat.com>
Wed, 13 Jan 2010 20:39:14 +0000 (15:39 -0500)
commitb1e28d50c2cf1d52c68c771921fd01f2af1c0a3b
tree7fee037306bed2223b6bf19d016d9ce2d1c76299
parente0819debc9d1d322e06ca4047a125a4fd8176d13
mountd: better hiding of v4root exports from mountd clients

We've hidden v4root exports from get_exportlist (hence from the
showmount command), but not from other mountd operations--allowing
clients to attempt to mount exports when they should be getting an
immediate error.

Symptoms observed on a linux client were that a mount that previously
would have returned an error immediately now hung.  This restores the
previous behavior.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
utils/mountd/auth.c