NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic
authorJeff Layton <jlayton@poochiereds.net>
Tue, 4 Oct 2016 04:07:43 +0000 (00:07 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 4 Oct 2016 20:30:54 +0000 (16:30 -0400)
commit3f807e5ae5597bd65a6fff684083e8eaa21f3fa7
tree92d27f542b06d656399b6aae1fb016f33997bf9d
parent2f86e0919a02d61ed2350c07f383e5542b904289
NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic

The caller of rpc_run_task also gets a reference that must be put.

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Cc: stable@vger.kernel.org # 4.2+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs42proc.c