mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] proper prototype for remove_inode_dquot_ref()
Date: Wed, 29 Nov 2006 12:16:49 +0100	[thread overview]
Message-ID: <20061129111649.GF16630@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <20061129100408.GJ11084@stusta.de>

> This patch adds a proer prototype for remove_inode_dquot_ref() in 
> include/linux/quotaops.h
> 
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
  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 <jack@suse.cz>

								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 <jack@suse.cz>
SuSE CR Labs

      reply	other threads:[~2006-11-29 11:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-29 10:04 Adrian Bunk
2006-11-29 11:16 ` Jan Kara [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061129111649.GF16630@atrey.karlin.mff.cuni.cz \
    --to=jack@suse.cz \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®