]> 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)
commitb21439da78522a84752e02e30a129e716476e6d8
tree1083c4f2618e7c0e9e1e648ad67600e0824df176
parent63c6302e71dc7a95f29342997c28cd45077e769d
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