summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaojun <piaojun@huawei.com>2018-01-10 03:32:41 +0100
committerTheodore Ts'o <tytso@mit.edu>2018-01-10 03:32:41 +0100
commita90ac0f5dc17f23d15f20abdb9d08ef07f155480 (patch)
treeaf1f82b708ce5df0a8dca33470c934a7b56e5a39
parentext4: fixed alignment and minor code cleanup in ext4.h (diff)
downloadlinux-a90ac0f5dc17f23d15f20abdb9d08ef07f155480.tar.xz
linux-a90ac0f5dc17f23d15f20abdb9d08ef07f155480.zip
ext4: no need flush workqueue before destroying it
destroy_workqueue() will do flushing work for us. Signed-off-by: Jun Piao <piaojun@huawei.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>
-rw-r--r--fs/ext4/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index e5b9a305ff72..2a7faf94bb90 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -871,7 +871,6 @@ static void ext4_put_super(struct super_block *sb)
ext4_unregister_li_request(sb);
ext4_quota_off_umount(sb);
- flush_workqueue(sbi->rsv_conversion_wq);
destroy_workqueue(sbi->rsv_conversion_wq);
if (sbi->s_journal) {