From: Greg Kroah-Hartman Subject: Re: [PATCH 3/8] fs: wrap simple_pin_fs/simple_release_fs arguments in a struct Date: Tue, 14 Apr 2020 15:03:50 +0200 Message-ID: <20200414130350.GE720679@kroah.com> References: <20200414124304.4470-1-eesposit@redhat.com> <20200414124304.4470-4-eesposit@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=rpQRYUU25dbGoG1SVvlJC2U1EwNiTdA+giTY2sk8hjU=; b=QEaHcoTa0zi1AsF4niBjcfFl2g 350dAVTBbPkrVHt0ZsZDiBDY98Vr80+RwejILXjT4jUYhqQJkbmtcm4QGDJm+IvHmXfzv6qnbGuVx yJbenAHzNuKnhj5xAkYtab5V8ANT42hbWfZ1RhYnyj6DxlwoF8puEE7M1ygV7Z++6NNM=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=rpQRYUU25dbGoG1SVvlJC2U1EwNiTdA+giTY2sk8hjU=; b=VfZU7mvJpeMTzu4Gr2eD04iiFg 6czTqCqca71iBGp18xU7xlr59PVs8MuMnww8EsdZfbhiytK/wLNfqaoYpXqaMxAciqIVdwsa37rTD mOVLyxOK16MCFDKfTU+1Z8joK+w9yJ6iM4nOncBsQb/yAenC7uBWOEL/PHn4ROIhITI0=; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586869433; bh=EOypBrU9tcg2QQEPNGGQltllXks3y35z6IXUGjl1DG4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XLWBhRlVYg1iCtB++EIMGXPAVeF1ZU6z7ff1mOzRtuHPt0RW282VdRwUJrVcq7xeD 10yO4veG3HRuw+wEo+nv2oXA/aW+uL5LE1lsss39dNDwE7jHcFqC693e0pj+pbc2Iw pkZZOnW468SR89YvW+ma9CDlA+A8SG2buRxyANGk= Content-Disposition: inline In-Reply-To: <20200414124304.4470-4-eesposit@redhat.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: oprofile-list-bounces@lists.sourceforge.net To: Emanuele Giuseppe Esposito Cc: Song Liu , linux-usb@vger.kernel.org, bpf@vger.kernel.org, "Rafael J. Wysocki" , David Airlie , Benjamin Herrenschmidt , Heiko Carstens , Alexei Starovoitov , dri-devel@lists.freedesktop.org, "J. Bruce Fields" , Joseph Qi , Hugh Dickins , Paul Mackerras , John Johansen , netdev@vger.kernel.org, ocfs2-devel@oss.oracle.com, Christoph Hellwig , Andrew Donnellan , Matthew Garrett , linux-efi@vger.kernel.org, Arnd Bergmann , Daniel Borkmann , Christian Borntraeger , linux-rdma@vger.kernel.org, Michael Ellerman On Tue, Apr 14, 2020 at 02:42:57PM +0200, Emanuele Giuseppe Esposito wrote: > @@ -676,9 +674,9 @@ static void __debugfs_file_removed(struct dentry *dentry) > > static void remove_one(struct dentry *victim) > { > - if (d_is_reg(victim)) > + if (d_is_reg(victim)) > __debugfs_file_removed(victim); > - simple_release_fs(&debugfs_mount, &debugfs_mount_count); > + simple_release_fs(&debugfs); > } > > /** Always run checkpatch.pl on your patches so you do not get grumpy maintainers telling you to run checkpatch.pl on your patches...