diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-10-06 21:42:20 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-10-06 21:42:20 +0200 |
commit | 517be09def6cd7bc231222ee756fde8ea245a6fe (patch) | |
tree | a1ef080c8cddd9e766590cbede7d9310f6e02e53 /fs/nfs/super.c | |
parent | nfs: Avoid overrun when copying client IP address string (diff) | |
download | linux-517be09def6cd7bc231222ee756fde8ea245a6fe.tar.xz linux-517be09def6cd7bc231222ee756fde8ea245a6fe.zip |
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: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/super.c')
0 files changed, 0 insertions, 0 deletions