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>
This commit is contained in:
parent
e7093f0d63
commit
a90ac0f5dc
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue