quota: Introduce writeout_quota_sb() (version 4)
[deliverable/linux.git] / include / linux / quotaops.h
index 047310fa22fb732225fb60d9dc5956fa80a75875..7bc457593684aaad13a4e27b0759066832f130f0 100644 (file)
@@ -21,6 +21,11 @@ static inline struct quota_info *sb_dqopt(struct super_block *sb)
  * declaration of quota_function calls in kernel.
  */
 void sync_quota_sb(struct super_block *sb, int type);
+static inline void writeout_quota_sb(struct super_block *sb, int type)
+{
+       if (sb->s_qcop->quota_sync)
+               sb->s_qcop->quota_sync(sb, type);
+}
 
 int dquot_initialize(struct inode *inode, int type);
 int dquot_drop(struct inode *inode);
@@ -333,6 +338,10 @@ static inline void sync_quota_sb(struct super_block *sb, int type)
 {
 }
 
+static inline void writeout_quota_sb(struct super_block *sb, int type)
+{
+}
+
 static inline int vfs_dq_off(struct super_block *sb, int remount)
 {
        return 0;
This page took 0.037758 seconds and 5 git commands to generate.