diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-24 22:18:39 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-29 00:03:18 +0400 |
commit | 849b286fd026a6924cc6a4315e446ed88ab983d2 (patch) | |
tree | a8d07243fb453ece5b04078cc6715ec9e78971f3 /net/sunrpc/sched.c | |
parent | 65857d5768f7716da539933c2075d384b117812d (diff) | |
download | linux-849b286fd026a6924cc6a4315e446ed88ab983d2.tar.xz |
NFSv4.1: nfs4_proc_layoutreturn must always drop the plh_block_lgets count
Currently it does not do so if the RPC call failed to start. Fix is to
move the decrement of plh_block_lgets into nfs4_layoutreturn_release.
Also remove a redundant test of task->tk_status in nfs4_layoutreturn_done:
if lrp->res.lrs_present is set, then obviously the RPC call succeeded.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/sched.c')
0 files changed, 0 insertions, 0 deletions