diff options
Diffstat (limited to 'include/linux/quotaops.h')
-rw-r--r-- | include/linux/quotaops.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h index 811529241e33..cfa2abb1b6d1 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h | |||
@@ -156,16 +156,6 @@ extern const struct quotactl_ops vfs_quotactl_ops; | |||
156 | #define sb_dquot_ops (&dquot_operations) | 156 | #define sb_dquot_ops (&dquot_operations) |
157 | #define sb_quotactl_ops (&vfs_quotactl_ops) | 157 | #define sb_quotactl_ops (&vfs_quotactl_ops) |
158 | 158 | ||
159 | /* Cannot be called inside a transaction */ | ||
160 | static inline int vfs_dq_off(struct super_block *sb, int remount) | ||
161 | { | ||
162 | int ret = -ENOSYS; | ||
163 | |||
164 | if (sb->s_qcop && sb->s_qcop->quota_off) | ||
165 | ret = sb->s_qcop->quota_off(sb, -1, remount); | ||
166 | return ret; | ||
167 | } | ||
168 | |||
169 | #else | 159 | #else |
170 | 160 | ||
171 | static inline int sb_has_quota_usage_enabled(struct super_block *sb, int type) | 161 | static inline int sb_has_quota_usage_enabled(struct super_block *sb, int type) |
@@ -232,11 +222,6 @@ static inline void dquot_free_inode(const struct inode *inode) | |||
232 | { | 222 | { |
233 | } | 223 | } |
234 | 224 | ||
235 | static inline int vfs_dq_off(struct super_block *sb, int remount) | ||
236 | { | ||
237 | return 0; | ||
238 | } | ||
239 | |||
240 | static inline int dquot_transfer(struct inode *inode, struct iattr *iattr) | 225 | static inline int dquot_transfer(struct inode *inode, struct iattr *iattr) |
241 | { | 226 | { |
242 | return 0; | 227 | return 0; |