diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-12-07 05:40:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 17:39:44 +0100 |
commit | 0da1480ec33d4bac8c32051c1d33202be6dc439f (patch) | |
tree | 2b7c820451aa595fb9a8f64556eadd21ef3e9e2e | |
parent | [PATCH] fs/sysv/: doc cleanup (diff) | |
download | linux-0da1480ec33d4bac8c32051c1d33202be6dc439f.tar.xz linux-0da1480ec33d4bac8c32051c1d33202be6dc439f.zip |
[PATCH] proper prototype for remove_inode_dquot_ref()
Add a proper prototype for remove_inode_dquot_ref() in
include/linux/quotaops.h
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | fs/inode.c | 3 | ||||
-rw-r--r-- | include/linux/quotaops.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/inode.c b/fs/inode.c index 699aa4f7aa74..9ecccab7326d 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -1242,9 +1242,6 @@ EXPORT_SYMBOL(inode_needs_sync); */ #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) { diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h index 5110201a4159..90c23f690c0d 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h @@ -37,6 +37,9 @@ extern int dquot_release(struct dquot *dquot); 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); |