]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.x: Fix a refcount leak in nfs_callback_up_net
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 29 Aug 2016 15:15:36 +0000 (11:15 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Tue, 30 Aug 2016 13:26:57 +0000 (09:26 -0400)
commit27acd68d87d567d9d703ecadc28bdd59c52701fc
tree1083c4f2618e7c0e9e1e648ad67600e0824df176
parente3bc8f288e849b4a21213314a13226d01d16e4aa
NFSv4.x: Fix a refcount leak in nfs_callback_up_net

On error, the callers expect us to return without bumping
nn->cb_users[].

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org # v3.7+
fs/nfs/callback.c