diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/quotaops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/quotaops.h b/include/linux/quotaops.h index a529d86e7e73..69d26bc0f884 100644 --- a/include/linux/quotaops.h +++ b/include/linux/quotaops.h | |||
@@ -22,7 +22,7 @@ static inline struct quota_info *sb_dqopt(struct super_block *sb) | |||
22 | void sync_quota_sb(struct super_block *sb, int type); | 22 | void sync_quota_sb(struct super_block *sb, int type); |
23 | static inline void writeout_quota_sb(struct super_block *sb, int type) | 23 | static inline void writeout_quota_sb(struct super_block *sb, int type) |
24 | { | 24 | { |
25 | if (sb->s_qcop->quota_sync) | 25 | if (sb->s_qcop && sb->s_qcop->quota_sync) |
26 | sb->s_qcop->quota_sync(sb, type); | 26 | sb->s_qcop->quota_sync(sb, type); |
27 | } | 27 | } |
28 | 28 | ||