Skip to content
Commit 517be09d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4: Fix the referral mount code



Fix a typo which causes try_location() to use the wrong length argument
when calling nfs_parse_server_name(). This again, causes the initialisation
of the mount's sockaddr structure to fail.

Also ensure that if nfs4_pathname_string() returns an error, then we pass
that error back up the stack instead of ENOENT.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent f4373bf9
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