diff options
-rw-r--r-- | fs/dquot.c | 3 | ||||
-rw-r--r-- | include/linux/quotaops.h | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/fs/dquot.c b/fs/dquot.c index 0a5febc159f2..ca40bfc5cccc 100644 --- a/fs/dquot.c +++ b/fs/dquot.c | |||
@@ -721,7 +721,8 @@ static inline int dqput_blocks(struct dquot *dquot) | |||
721 | 721 | ||
722 | /* Remove references to dquots from inode - add dquot to list for freeing if needed */ | 722 | /* Remove references to dquots from inode - add dquot to list for freeing if needed */ |
723 | /* We can't race with anybody because we hold dqptr_sem for writing... */ | 723 | /* We can't race with anybody because we hold dqptr_sem for writing... */ |
724 | int remove_inode_dquot_ref(struct inode *inode, int type, struct list_head *tofree_head) | 724 | static int remove_inode_dquot_ref(struct inode *inode, int type, |
725 | struct list_head *tofree_head) | ||
725 | { | 726 | { |
726 | struct dquot *dquot = inode->i_dquot[type]; | 727 | struct dquot *dquot = inode->i_dquot[type]; |
727 | 728 | ||
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h index 90c23f690c0d..5110201a4159 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h | |||
@@ -37,9 +37,6 @@ extern int dquot_release(struct dquot *dquot); | |||
37 | extern int dquot_commit_info(struct super_block *sb, int type); | 37 | extern int dquot_commit_info(struct super_block *sb, int type); |
38 | extern int dquot_mark_dquot_dirty(struct dquot *dquot); | 38 | extern int dquot_mark_dquot_dirty(struct dquot *dquot); |
39 | 39 | ||
40 | int remove_inode_dquot_ref(struct inode *inode, int type, | ||
41 | struct list_head *tofree_head); | ||
42 | |||
43 | extern int vfs_quota_on(struct super_block *sb, int type, int format_id, char *path); | 40 | extern int vfs_quota_on(struct super_block *sb, int type, int format_id, char *path); |
44 | extern int vfs_quota_on_mount(struct super_block *sb, char *qf_name, | 41 | extern int vfs_quota_on_mount(struct super_block *sb, char *qf_name, |
45 | int format_id, int type); | 42 | int format_id, int type); |