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)
commit98b0f80c2396224bbbed81792b526e6c72ba9efa
tree1083c4f2618e7c0e9e1e648ad67600e0824df176
parent52442f9b11b7e5d4a38d99143011831fd171f8d9
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