Re: [2.6 patch] make remove_inode_dquot_ref() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue 20-02-07 01:07:38, Adrian Bunk wrote:
> remove_inode_dquot_ref() can now become static.
  ACK. I should have noticed it when acking Christophs patch...

> Signed-off-by: Adrian Bunk <[email protected]>
  Signed-off-by: Jan Kara <[email protected]>

									Honza
> ---
> 
>  fs/dquot.c               |    3 ++-
>  include/linux/quotaops.h |    3 ---
>  2 files changed, 2 insertions(+), 4 deletions(-)
> 
> --- linux-2.6.20-mm2/include/linux/quotaops.h.old	2007-02-18 22:27:48.000000000 +0100
> +++ linux-2.6.20-mm2/include/linux/quotaops.h	2007-02-18 22:27:54.000000000 +0100
> @@ -37,9 +37,6 @@
>  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.20-mm2/fs/dquot.c.old	2007-02-18 22:28:03.000000000 +0100
> +++ linux-2.6.20-mm2/fs/dquot.c	2007-02-18 22:28:16.000000000 +0100
> @@ -721,7 +721,8 @@
>  
>  /* Remove references to dquots from inode - add dquot to list for freeing if needed */
>  /* We can't race with anybody because we hold dqptr_sem for writing... */
> -int remove_inode_dquot_ref(struct inode *inode, int type, struct list_head *tofree_head)
> +static int remove_inode_dquot_ref(struct inode *inode, int type,
> +				  struct list_head *tofree_head)
>  {
>  	struct dquot *dquot = inode->i_dquot[type];
>  
> 
-- 
Jan Kara <[email protected]>
SuSE CR Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux