nfsd: filter readdir results in V4ROOT case
authorJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 26 Oct 2009 01:43:01 +0000 (21:43 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 15 Dec 2009 19:07:24 +0000 (14:07 -0500)
commit3227fa41abc191384fa81b3bcf52aa7fccb31536
treef50512f2feecfc2fde13b0843cbbfb87728e2442
parent82ead7fe41da960ed80652d13d5a1072f85f5aca
nfsd: filter readdir results in V4ROOT case

As with lookup, we treat every boject as a mountpoint and pretend it
doesn't exist if it isn't exported.

The preexisting code here is confusing, but I haven't yet figured out
how to make it clearer.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4xdr.c
fs/nfsd/vfs.c
fs/nfsd/vfs.h