From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:48329 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759880AbcJZIQH (ORCPT ); Wed, 26 Oct 2016 04:16:07 -0400 Subject: Patch "NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic" has been added to the 4.4-stable tree To: jlayton@poochiereds.net, Anna.Schumaker@Netapp.com, gregkh@linuxfoundation.org, jeff.layton@primarydata.com, trond.myklebust@primarydata.com Cc: , From: Date: Wed, 26 Oct 2016 10:15:39 +0200 Message-ID: <14774697391750@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: nfsv4.2-fix-a-reference-leak-in-nfs42_proc_layoutstats_generic.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 3f807e5ae5597bd65a6fff684083e8eaa21f3fa7 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Tue, 4 Oct 2016 00:07:43 -0400 Subject: NFSv4.2: Fix a reference leak in nfs42_proc_layoutstats_generic From: Jeff Layton commit 3f807e5ae5597bd65a6fff684083e8eaa21f3fa7 upstream. The caller of rpc_run_task also gets a reference that must be put. Signed-off-by: Jeff Layton Signed-off-by: Trond Myklebust Signed-off-by: Anna Schumaker Signed-off-by: Greg Kroah-Hartman --- fs/nfs/nfs42proc.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/nfs/nfs42proc.c +++ b/fs/nfs/nfs42proc.c @@ -269,6 +269,7 @@ int nfs42_proc_layoutstats_generic(struc task = rpc_run_task(&task_setup); if (IS_ERR(task)) return PTR_ERR(task); + rpc_put_task(task); return 0; } Patches currently in stable-queue which might be from jlayton@poochiereds.net are queue-4.4/nfsv4.2-fix-a-reference-leak-in-nfs42_proc_layoutstats_generic.patch