diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-11-07 15:50:32 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-11-07 16:20:00 -0500 |
commit | a6f498a891c730327645a7afa10c5ae977de6fd8 (patch) | |
tree | 1b162b3f76a653cc5292f1ca04cf7c04905246df /net/sunrpc/xprtsock.c | |
parent | 0486958f57a496212e3c1e3d9194deebba3dc3d4 (diff) | |
download | lwn-a6f498a891c730327645a7afa10c5ae977de6fd8.tar.gz lwn-a6f498a891c730327645a7afa10c5ae977de6fd8.zip |
NFS: Fix a regression in the referral code
Fix a regression that was introduced by commit
0c2e53f11a6dae9e3af5f50f5ad0382e7c3e0cfa (NFS: Remove the unused
"lookupfh()" version of nfs4_proc_lookup()).
In the case where the lookup gets an NFS4ERR_MOVED, we want to return
the result of nfs4_get_referral(). Instead, that value is getting
clobbered by the call to nfs4_handle_exception()...
Reported-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Tested-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
0 files changed, 0 insertions, 0 deletions