aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/quota.h1
-rw-r--r--include/linux/quotaops.h5
2 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h
index 422e6aa78edc..aec2e9dac2d7 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -296,7 +296,6 @@ struct quota_format_ops {
296/* Operations working with dquots */ 296/* Operations working with dquots */
297struct dquot_operations { 297struct dquot_operations {
298 int (*initialize) (struct inode *, int); 298 int (*initialize) (struct inode *, int);
299 int (*drop) (struct inode *);
300 int (*write_dquot) (struct dquot *); /* Ordinary dquot write */ 299 int (*write_dquot) (struct dquot *); /* Ordinary dquot write */
301 struct dquot *(*alloc_dquot)(struct super_block *, int); /* Allocate memory for new dquot */ 300 struct dquot *(*alloc_dquot)(struct super_block *, int); /* Allocate memory for new dquot */
302 void (*destroy_dquot)(struct dquot *); /* Free memory for dquot */ 301 void (*destroy_dquot)(struct dquot *); /* Free memory for dquot */
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h
index fa27b7218c82..a5ebd1abccd8 100644
--- a/include/linux/quotaops.h
+++ b/include/linux/quotaops.h
@@ -24,7 +24,7 @@ void inode_claim_rsv_space(struct inode *inode, qsize_t number);
24void inode_sub_rsv_space(struct inode *inode, qsize_t number); 24void inode_sub_rsv_space(struct inode *inode, qsize_t number);
25 25
26int dquot_initialize(struct inode *inode, int type); 26int dquot_initialize(struct inode *inode, int type);
27int dquot_drop(struct inode *inode); 27void dquot_drop(struct inode *inode);
28struct dquot *dqget(struct super_block *sb, unsigned int id, int type); 28struct dquot *dqget(struct super_block *sb, unsigned int id, int type);
29void dqput(struct dquot *dquot); 29void dqput(struct dquot *dquot);
30int dquot_scan_active(struct super_block *sb, 30int dquot_scan_active(struct super_block *sb,
@@ -64,7 +64,6 @@ int vfs_set_dqinfo(struct super_block *sb, int type, struct if_dqinfo *ii);
64int vfs_get_dqblk(struct super_block *sb, int type, qid_t id, struct if_dqblk *di); 64int vfs_get_dqblk(struct super_block *sb, int type, qid_t id, struct if_dqblk *di);
65int vfs_set_dqblk(struct super_block *sb, int type, qid_t id, struct if_dqblk *di); 65int vfs_set_dqblk(struct super_block *sb, int type, qid_t id, struct if_dqblk *di);
66 66
67void vfs_dq_drop(struct inode *inode);
68int dquot_transfer(struct inode *inode, struct iattr *iattr); 67int dquot_transfer(struct inode *inode, struct iattr *iattr);
69int vfs_dq_quota_on_remount(struct super_block *sb); 68int vfs_dq_quota_on_remount(struct super_block *sb);
70 69
@@ -210,7 +209,7 @@ static inline void vfs_dq_init(struct inode *inode)
210{ 209{
211} 210}
212 211
213static inline void vfs_dq_drop(struct inode *inode) 212static inline void dquot_drop(struct inode *inode)
214{ 213{
215} 214}
216 215