1 ext4: no need flush workqueue before destroying it
3 From: piaojun <piaojun@huawei.com>
5 destroy_workqueue() will do flushing work for us.
7 Signed-off-by: Jun Piao <piaojun@huawei.com>
8 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
9 Reviewed-by: Jan Kara <jack@suse.cz>
12 1 file changed, 1 deletion(-)
14 diff --git a/fs/ext4/super.c b/fs/ext4/super.c
15 index 0556cd0..2f46b0b 100644
18 @@ -870,7 +870,6 @@ static void ext4_put_super(struct super_block *sb)
19 ext4_unregister_li_request(sb);
20 ext4_quota_off_umount(sb);
22 - flush_workqueue(sbi->rsv_conversion_wq);
23 destroy_workqueue(sbi->rsv_conversion_wq);