Skip to content
Commit f39bde24 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent 289ede45
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment