Unverified Commit 5089b895 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!14871 quota: flush quota_release_work upon quota writeback

parents 52349611 8205acde
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -680,6 +680,8 @@ int dquot_writeback_dquots(struct super_block *sb, int type)

	WARN_ON_ONCE(!rwsem_is_locked(&sb->s_umount));

	flush_delayed_work(&quota_release_work);

	for (cnt = 0; cnt < MAXQUOTAS; cnt++) {
		if (type != -1 && cnt != type)
			continue;