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:
cb1410c
)
nfs41: fix nfs4_proc_layoutget error handling
author
Peng Tao
<tao.peng@primarydata.com>
Mon, 17 Nov 2014 03:05:17 +0000
(11:05 +0800)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Mon, 24 Nov 2014 22:14:54 +0000
(17:14 -0500)
nfs4_layoutget_release() drops layout hdr refcnt. Grab the refcnt
early so that it is safe to call .release in case nfs4_alloc_pages
fails.
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Fixes:
a47970ff78147
("NFSv4.1: Hold reference to layout hdr in layoutget")
Cc: stable@vger.kernel.org # 3.9+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
No differences found