diff options
Diffstat (limited to 'include/linux/quotaops.h')
-rw-r--r-- | include/linux/quotaops.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h index 69d26bc0f884..8cfd0d44c994 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h | |||
@@ -19,13 +19,6 @@ static inline struct quota_info *sb_dqopt(struct super_block *sb) | |||
19 | /* | 19 | /* |
20 | * declaration of quota_function calls in kernel. | 20 | * declaration of quota_function calls in kernel. |
21 | */ | 21 | */ |
22 | void sync_quota_sb(struct super_block *sb, int type); | ||
23 | static inline void writeout_quota_sb(struct super_block *sb, int type) | ||
24 | { | ||
25 | if (sb->s_qcop && sb->s_qcop->quota_sync) | ||
26 | sb->s_qcop->quota_sync(sb, type); | ||
27 | } | ||
28 | |||
29 | void inode_add_rsv_space(struct inode *inode, qsize_t number); | 22 | void inode_add_rsv_space(struct inode *inode, qsize_t number); |
30 | void inode_claim_rsv_space(struct inode *inode, qsize_t number); | 23 | void inode_claim_rsv_space(struct inode *inode, qsize_t number); |
31 | void inode_sub_rsv_space(struct inode *inode, qsize_t number); | 24 | void inode_sub_rsv_space(struct inode *inode, qsize_t number); |
@@ -67,7 +60,7 @@ int vfs_quota_on_mount(struct super_block *sb, char *qf_name, | |||
67 | int format_id, int type); | 60 | int format_id, int type); |
68 | int vfs_quota_off(struct super_block *sb, int type, int remount); | 61 | int vfs_quota_off(struct super_block *sb, int type, int remount); |
69 | int vfs_quota_disable(struct super_block *sb, int type, unsigned int flags); | 62 | int vfs_quota_disable(struct super_block *sb, int type, unsigned int flags); |
70 | int vfs_quota_sync(struct super_block *sb, int type); | 63 | int vfs_quota_sync(struct super_block *sb, int type, int wait); |
71 | int vfs_get_dqinfo(struct super_block *sb, int type, struct if_dqinfo *ii); | 64 | int vfs_get_dqinfo(struct super_block *sb, int type, struct if_dqinfo *ii); |
72 | int vfs_set_dqinfo(struct super_block *sb, int type, struct if_dqinfo *ii); | 65 | int vfs_set_dqinfo(struct super_block *sb, int type, struct if_dqinfo *ii); |
73 | int vfs_get_dqblk(struct super_block *sb, int type, qid_t id, struct if_dqblk *di); | 66 | int vfs_get_dqblk(struct super_block *sb, int type, qid_t id, struct if_dqblk *di); |
@@ -340,14 +333,6 @@ static inline void vfs_dq_free_inode(struct inode *inode) | |||
340 | { | 333 | { |
341 | } | 334 | } |
342 | 335 | ||
343 | static inline void sync_quota_sb(struct super_block *sb, int type) | ||
344 | { | ||
345 | } | ||
346 | |||
347 | static inline void writeout_quota_sb(struct super_block *sb, int type) | ||
348 | { | ||
349 | } | ||
350 | |||
351 | static inline int vfs_dq_off(struct super_block *sb, int remount) | 336 | static inline int vfs_dq_off(struct super_block *sb, int remount) |
352 | { | 337 | { |
353 | return 0; | 338 | return 0; |