diff options
Diffstat (limited to 'include/linux/quotaops.h')
-rw-r--r-- | include/linux/quotaops.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h index a6592ddc349f..84b8dbf59c03 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h | |||
@@ -153,9 +153,6 @@ static inline unsigned sb_any_quota_active(struct super_block *sb) | |||
153 | extern const struct dquot_operations dquot_operations; | 153 | extern const struct dquot_operations dquot_operations; |
154 | extern const struct quotactl_ops vfs_quotactl_ops; | 154 | extern const struct quotactl_ops vfs_quotactl_ops; |
155 | 155 | ||
156 | #define sb_dquot_ops (&dquot_operations) | ||
157 | #define sb_quotactl_ops (&vfs_quotactl_ops) | ||
158 | |||
159 | #else | 156 | #else |
160 | 157 | ||
161 | static inline int sb_has_quota_usage_enabled(struct super_block *sb, int type) | 158 | static inline int sb_has_quota_usage_enabled(struct super_block *sb, int type) |
@@ -199,12 +196,6 @@ static inline int sb_any_quota_active(struct super_block *sb) | |||
199 | return 0; | 196 | return 0; |
200 | } | 197 | } |
201 | 198 | ||
202 | /* | ||
203 | * NO-OP when quota not configured. | ||
204 | */ | ||
205 | #define sb_dquot_ops (NULL) | ||
206 | #define sb_quotactl_ops (NULL) | ||
207 | |||
208 | static inline void dquot_initialize(struct inode *inode) | 199 | static inline void dquot_initialize(struct inode *inode) |
209 | { | 200 | { |
210 | } | 201 | } |