diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/quota.h | 1 | ||||
-rw-r--r-- | include/linux/quotaops.h | 5 |
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 */ |
297 | struct dquot_operations { | 297 | struct 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); | |||
24 | void inode_sub_rsv_space(struct inode *inode, qsize_t number); | 24 | void inode_sub_rsv_space(struct inode *inode, qsize_t number); |
25 | 25 | ||
26 | int dquot_initialize(struct inode *inode, int type); | 26 | int dquot_initialize(struct inode *inode, int type); |
27 | int dquot_drop(struct inode *inode); | 27 | void dquot_drop(struct inode *inode); |
28 | struct dquot *dqget(struct super_block *sb, unsigned int id, int type); | 28 | struct dquot *dqget(struct super_block *sb, unsigned int id, int type); |
29 | void dqput(struct dquot *dquot); | 29 | void dqput(struct dquot *dquot); |
30 | int dquot_scan_active(struct super_block *sb, | 30 | int 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); | |||
64 | int vfs_get_dqblk(struct super_block *sb, int type, qid_t id, struct if_dqblk *di); | 64 | int vfs_get_dqblk(struct super_block *sb, int type, qid_t id, struct if_dqblk *di); |
65 | int vfs_set_dqblk(struct super_block *sb, int type, qid_t id, struct if_dqblk *di); | 65 | int vfs_set_dqblk(struct super_block *sb, int type, qid_t id, struct if_dqblk *di); |
66 | 66 | ||
67 | void vfs_dq_drop(struct inode *inode); | ||
68 | int dquot_transfer(struct inode *inode, struct iattr *iattr); | 67 | int dquot_transfer(struct inode *inode, struct iattr *iattr); |
69 | int vfs_dq_quota_on_remount(struct super_block *sb); | 68 | int 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 | ||
213 | static inline void vfs_dq_drop(struct inode *inode) | 212 | static inline void dquot_drop(struct inode *inode) |
214 | { | 213 | { |
215 | } | 214 | } |
216 | 215 | ||