Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1619404ybv; Fri, 21 Feb 2020 00:24:48 -0800 (PST) X-Google-Smtp-Source: APXvYqztX0G1lJuBqVDv/peQVJwqKeAD9+mmRuRab00Fryx1pjw6fIkq+ctLQhXTazB6vJofrePj X-Received: by 2002:a05:6808:2cd:: with SMTP id a13mr1052621oid.82.1582273488747; Fri, 21 Feb 2020 00:24:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582273488; cv=none; d=google.com; s=arc-20160816; b=jURz6uYe6PZqe+rCVymt48bB3AquJ2M80iWTDDkajDSWQFvfyvuUS7PM7R7HgwkdCO +wEybHGOp5Th6UqyaglNWRUJh5eVGPYWU2bSUTek00/Y3h1wFg2Ide+hEMTZiO3TuB9R KnZXhN2cygBmpJKyPuUEryKZ9Hu87TtdZ/yxvzkIuIhZh6dpJ707uo5WRcxeTJC2obh/ P5/CUeEWFriObvmN0nXcLtJrn1p6xJpfDQLh8RmtvauzM9YmhZLEo+br993umIvSi4dD uxbrJ/0y7ZUO3uZonRgNRpI5Y4EySd+dfuP0ts3krB3BAzn956JaKPTSki/4NJrok0SO IwOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Ik/DP6X+pZ0AaNC0JzeiP5/R6EeLH9ErvGoRVtEwiLY=; b=SxC9S46e++Z9jUP9wXwXk5Ib1xm1hkxkcXR76Lk2uy3MCDZPa5czdqMFtG5jAFTTTe shkRY4jXHQ44fDoeGw6VROciTgw9JUlZt2kFkSGweX4lMsDsPeor/WE8W6PDKLwUHldn 5fRtSK0odAhQFi53imqLbqzIxYEST0f8KH9h4EYpyXjYBucY8wmFk5FwWfqmQ+SilzkC LBFtaCOcj6SecFcKzWvG5yioijzbXR7Z51snFSA6a9SPVG8x5IcsGNlLi3rKDv3DZkK3 FuM3jwUmytzyFpdj31kfP3YUcCckemHTbGdKYKDLeliVShGZCStYPVkzdRqcoAs+Qqyr 9+HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Kx1iBRo5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11si1128755otq.223.2020.02.21.00.24.36; Fri, 21 Feb 2020 00:24:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Kx1iBRo5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732083AbgBUIXy (ORCPT + 99 others); Fri, 21 Feb 2020 03:23:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:36096 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388561AbgBUIXw (ORCPT ); Fri, 21 Feb 2020 03:23:52 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 337C2206ED; Fri, 21 Feb 2020 08:23:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582273431; bh=7jOrCJo4W6QpDHFDtZvsrVqjHYJDbtJs8AOUjYqu4cA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Kx1iBRo5D7aNUdfy1886FetKm5wt9VKcIMlhBvBwjoZojAV8l4yC57loyWcLjsKm+ MMES5YPGjw0lVqrkDDVxPdt6J8ilBFTbPad+UTJzvoRD0FO5rxhFNP6+xlcwtfUiJM 8Ot/0U43kUIgdWlqgcIfeImEXY7+xwnHcfPo9RzU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chao Yu , Jaegeuk Kim , Sasha Levin Subject: [PATCH 4.19 132/191] f2fs: free sysfs kobject Date: Fri, 21 Feb 2020 08:41:45 +0100 Message-Id: <20200221072306.672796842@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221072250.732482588@linuxfoundation.org> References: <20200221072250.732482588@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jaegeuk Kim [ Upstream commit 820d366736c949ffe698d3b3fe1266a91da1766d ] Detected kmemleak. Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim Signed-off-by: Sasha Levin --- fs/f2fs/sysfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/sysfs.c b/fs/f2fs/sysfs.c index 98887187af4cd..b405548202d3b 100644 --- a/fs/f2fs/sysfs.c +++ b/fs/f2fs/sysfs.c @@ -711,4 +711,5 @@ void f2fs_unregister_sysfs(struct f2fs_sb_info *sbi) remove_proc_entry(sbi->sb->s_id, f2fs_proc_root); } kobject_del(&sbi->s_kobj); + kobject_put(&sbi->s_kobj); } -- 2.20.1