• Trond Myklebust's avatar
    NFSv4: Fix the referral mount code · 517be09d
    Trond Myklebust authored
    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>
    517be09d
nfs4namespace.c 6.47 KB