]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NFSv4: Fix an rcu lock leak
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 5 May 2017 17:02:42 +0000 (13:02 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 8 May 2017 13:27:59 +0000 (09:27 -0400)
commit2e84611b3f4fa50e1f4c12f2966fcc7fb955d944
tree07d5defa8924f2fa10e2fa0b32c1cfff877cb931
parent0795bf8357c1887e2a95e6e4f5b89d0896a0d929
NFSv4: Fix an rcu lock leak

The intention in the original patch was to release the lock when
we put the inode, however something got screwed up.

Reported-by: Jason Yan <yanaijie@huawei.com>
Fixes: 7b410d9ce460f ("pNFS: Delay getting the layout header in..")
Cc: stable@vger.kernel.org # v4.10+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback_proc.c