aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/quotaops.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/quotaops.h')
-rw-r--r--include/linux/quotaops.h2
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)
22void sync_quota_sb(struct super_block *sb, int type); 22void sync_quota_sb(struct super_block *sb, int type);
23static inline void writeout_quota_sb(struct super_block *sb, int type) 23static 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