diff options
Diffstat (limited to 'include/linux/quota.h')
-rw-r--r-- | include/linux/quota.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h index f9983ea0ff88..4e004fef8134 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h | |||
@@ -223,7 +223,10 @@ struct super_block; | |||
223 | #define DQF_INFO_DIRTY (1 << DQF_INFO_DIRTY_B) /* Is info dirty? */ | 223 | #define DQF_INFO_DIRTY (1 << DQF_INFO_DIRTY_B) /* Is info dirty? */ |
224 | 224 | ||
225 | extern void mark_info_dirty(struct super_block *sb, int type); | 225 | extern void mark_info_dirty(struct super_block *sb, int type); |
226 | #define info_dirty(info) test_bit(DQF_INFO_DIRTY_B, &(info)->dqi_flags) | 226 | static inline int info_dirty(struct mem_dqinfo *info) |
227 | { | ||
228 | return test_bit(DQF_INFO_DIRTY_B, &info->dqi_flags); | ||
229 | } | ||
227 | 230 | ||
228 | struct dqstats { | 231 | struct dqstats { |
229 | int lookups; | 232 | int lookups; |