Commit a90ac0f5 authored by piaojun's avatar piaojun Committed by Theodore Ts'o

ext4: no need flush workqueue before destroying it

destroy_workqueue() will do flushing work for us.
Signed-off-by: default avatarJun Piao <piaojun@huawei.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
parent e7093f0d
...@@ -871,7 +871,6 @@ static void ext4_put_super(struct super_block *sb) ...@@ -871,7 +871,6 @@ static void ext4_put_super(struct super_block *sb)
ext4_unregister_li_request(sb); ext4_unregister_li_request(sb);
ext4_quota_off_umount(sb); ext4_quota_off_umount(sb);
flush_workqueue(sbi->rsv_conversion_wq);
destroy_workqueue(sbi->rsv_conversion_wq); destroy_workqueue(sbi->rsv_conversion_wq);
if (sbi->s_journal) { if (sbi->s_journal) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment