diff options
author | piaojun <piaojun@huawei.com> | 2018-01-10 03:32:41 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-01-10 03:32:41 +0100 |
commit | a90ac0f5dc17f23d15f20abdb9d08ef07f155480 (patch) | |
tree | af1f82b708ce5df0a8dca33470c934a7b56e5a39 | |
parent | ext4: fixed alignment and minor code cleanup in ext4.h (diff) | |
download | linux-a90ac0f5dc17f23d15f20abdb9d08ef07f155480.tar.xz linux-a90ac0f5dc17f23d15f20abdb9d08ef07f155480.zip |
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) 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) { |