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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 07:01:31 +0000 (03:01 -0400)
commit52bee8880ff4fddd1c7b520f8af34075a92f644e
tree923180c8693eeb712ef56621edd7dc91b0633781
parent2c52c33a25f508bc8ba80d666339cf2f44ece3ad
NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic

commit 3f807e5ae5597bd65a6fff684083e8eaa21f3fa7 upstream.

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

Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs42proc.c