diff options
author | piaojun <piaojun@huawei.com> | 2018-01-09 21:32:41 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-01-09 21:32:41 -0500 |
commit | a90ac0f5dc17f23d15f20abdb9d08ef07f155480 (patch) | |
tree | af1f82b708ce5df0a8dca33470c934a7b56e5a39 | |
parent | e7093f0d6371cefb4934c8f98847a56cb854e4a9 (diff) |
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>
-rw-r--r-- | fs/ext4/super.c | 1 |
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) | |||
871 | ext4_unregister_li_request(sb); | 871 | ext4_unregister_li_request(sb); |
872 | ext4_quota_off_umount(sb); | 872 | ext4_quota_off_umount(sb); |
873 | 873 | ||
874 | flush_workqueue(sbi->rsv_conversion_wq); | ||
875 | destroy_workqueue(sbi->rsv_conversion_wq); | 874 | destroy_workqueue(sbi->rsv_conversion_wq); |
876 | 875 | ||
877 | if (sbi->s_journal) { | 876 | if (sbi->s_journal) { |