]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite3f8e99b18dfe05fc233c46e908d70088898f33e
treef50512f2feecfc2fde13b0843cbbfb87728e2442
parentf913023ebf667c2a856b47fd5814805044e4d274
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