add patch save-error-to-disk-in-ext4_grp_locked_error
[ext4-patch-queue.git] / no-need-to-flush-workqueue-before-destroying-it
blobfb639abd2a0cc80524592f3bf4290ffdb7908245
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>
10 ---
11  fs/ext4/super.c | 1 -
12  1 file changed, 1 deletion(-)
14 diff --git a/fs/ext4/super.c b/fs/ext4/super.c
15 index 0556cd0..2f46b0b 100644
16 --- a/fs/ext4/super.c
17 +++ b/fs/ext4/super.c
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);
25         if (sbi->s_journal) {
26 --