diff options
Diffstat (limited to 'fs/dquot.c')
-rw-r--r-- | fs/dquot.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/fs/dquot.c b/fs/dquot.c index 24eef582d2a0..fc26d1097d3c 100644 --- a/fs/dquot.c +++ b/fs/dquot.c | |||
@@ -289,7 +289,15 @@ static void wait_on_dquot(struct dquot *dquot) | |||
289 | mutex_unlock(&dquot->dq_lock); | 289 | mutex_unlock(&dquot->dq_lock); |
290 | } | 290 | } |
291 | 291 | ||
292 | #define mark_dquot_dirty(dquot) ((dquot)->dq_sb->dq_op->mark_dirty(dquot)) | 292 | static inline int dquot_dirty(struct dquot *dquot) |
293 | { | ||
294 | return test_bit(DQ_MOD_B, &dquot->dq_flags); | ||
295 | } | ||
296 | |||
297 | static inline int mark_dquot_dirty(struct dquot *dquot) | ||
298 | { | ||
299 | return dquot->dq_sb->dq_op->mark_dirty(dquot); | ||
300 | } | ||
293 | 301 | ||
294 | int dquot_mark_dquot_dirty(struct dquot *dquot) | 302 | int dquot_mark_dquot_dirty(struct dquot *dquot) |
295 | { | 303 | { |