git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65857d5
)
NFSv4.1: nfs4_proc_layoutreturn must always drop the plh_block_lgets count
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Mon, 24 Sep 2012 18:18:39 +0000
(14:18 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 28 Sep 2012 20:03:18 +0000
(16:03 -0400)
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>
No differences found