|
@@ -4325,6 +4325,11 @@ static int ext4_sync_fs(struct super_block *sb, int wait)
|
|
|
|
|
|
trace_ext4_sync_fs(sb, wait);
|
|
|
flush_workqueue(sbi->dio_unwritten_wq);
|
|
|
+ /*
|
|
|
+ * Writeback quota in non-journalled quota case - journalled quota has
|
|
|
+ * no dirty dquots
|
|
|
+ */
|
|
|
+ dquot_writeback_dquots(sb, -1);
|
|
|
if (jbd2_journal_start_commit(sbi->s_journal, &target)) {
|
|
|
if (wait)
|
|
|
jbd2_log_wait_commit(sbi->s_journal, target);
|