From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967134AbWK2LQv (ORCPT ); Wed, 29 Nov 2006 06:16:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S967141AbWK2LQv (ORCPT ); Wed, 29 Nov 2006 06:16:51 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.31.123]:60127 "EHLO atrey.karlin.mff.cuni.cz") by vger.kernel.org with ESMTP id S967134AbWK2LQu (ORCPT ); Wed, 29 Nov 2006 06:16:50 -0500 Date: Wed, 29 Nov 2006 12:16:49 +0100 From: Jan Kara To: Adrian Bunk Cc: linux-kernel@vger.kernel.org Subject: Re: [2.6 patch] proper prototype for remove_inode_dquot_ref() Message-ID: <20061129111649.GF16630@atrey.karlin.mff.cuni.cz> References: <20061129100408.GJ11084@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061129100408.GJ11084@stusta.de> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > This patch adds a proer prototype for remove_inode_dquot_ref() in > include/linux/quotaops.h > > Signed-off-by: Adrian Bunk Fine with me, if you find it better this way (but that function is not really supposed to be called from anywhere else). Signed-off-by: Jan Kara Honza > --- > > fs/inode.c | 3 --- > include/linux/quotaops.h | 3 +++ > 2 files changed, 3 insertions(+), 3 deletions(-) > > --- linux-2.6.19-rc6-mm2/include/linux/quotaops.h.old 2006-11-29 09:43:03.000000000 +0100 > +++ linux-2.6.19-rc6-mm2/include/linux/quotaops.h 2006-11-29 09:43:21.000000000 +0100 > @@ -37,6 +37,9 @@ > extern int dquot_commit_info(struct super_block *sb, int type); > extern int dquot_mark_dquot_dirty(struct dquot *dquot); > > +int remove_inode_dquot_ref(struct inode *inode, int type, > + struct list_head *tofree_head); > + > extern int vfs_quota_on(struct super_block *sb, int type, int format_id, char *path); > extern int vfs_quota_on_mount(struct super_block *sb, char *qf_name, > int format_id, int type); > --- linux-2.6.19-rc6-mm2/fs/inode.c.old 2006-11-29 09:43:40.000000000 +0100 > +++ linux-2.6.19-rc6-mm2/fs/inode.c 2006-11-29 09:43:50.000000000 +0100 > @@ -1249,9 +1249,6 @@ > */ > #ifdef CONFIG_QUOTA > > -/* Function back in dquot.c */ > -int remove_inode_dquot_ref(struct inode *, int, struct list_head *); > - > void remove_dquot_ref(struct super_block *sb, int type, > struct list_head *tofree_head) > { -- Jan Kara SuSE CR Labs