diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2009-09-27 20:41:43 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-09-28 18:21:26 +0200 |
commit | f39bde24b275ddc45df1ed835725b609e178c7a0 (patch) | |
tree | 17708324bb82f3fb4db2e9902dbcc9de03cbc1ff /fs/nfsd/vfs.c | |
parent | nfsd: minor nfsd_lookup cleanup (diff) | |
download | linux-f39bde24b275ddc45df1ed835725b609e178c7a0.tar.xz linux-f39bde24b275ddc45df1ed835725b609e178c7a0.zip |
nfsd4: fix error return when pseudoroot missing
We really shouldn't hit this case at all, and forthcoming kernel and
nfs-utils changes should eliminate this case; if it does happen,
consider it a bug rather than reporting an error that doesn't really
make sense for the operation (since there's no reason for a server to be
accepting v4 traffic yet have no root filehandle).
Also move some exp_pseudoroot code into a helper function while we're
here.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/vfs.c')
0 files changed, 0 insertions, 0 deletions