summaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
authorpiaojun <piaojun@huawei.com>2018-01-09 21:32:41 -0500
committerTheodore Ts'o <tytso@mit.edu>2018-01-09 21:32:41 -0500
commita90ac0f5dc17f23d15f20abdb9d08ef07f155480 (patch)
treeaf1f82b708ce5df0a8dca33470c934a7b56e5a39 /fs/ext4/super.c
parente7093f0d6371cefb4934c8f98847a56cb854e4a9 (diff)
downloadlinux-a90ac0f5dc17f23d15f20abdb9d08ef07f155480.tar.bz2
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>
Diffstat (limited to 'fs/ext4/super.c')
-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) {