[2.6 patch] proper prototype for remove_inode_dquot_ref()

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

 



This patch adds a proer prototype for remove_inode_dquot_ref() in 
include/linux/quotaops.h

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

---

 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)
 {

-
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