Message ID | 5A210840.1020807@huawei.com |
---|---|
State | Superseded, archived |
Headers | show |
Series | ext4: no need flush workqueue before destroying it | expand |
Hi Ted, Could you help reviewing my patch? thanks, Jun On 2017/12/1 15:44, piaojun wrote: > destroy_workqueue() will do flushing work for us. > > Signed-off-by: Jun Piao <piaojun@huawei.com> > --- > fs/ext4/super.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/ext4/super.c b/fs/ext4/super.c > index 0556cd0..2f46b0b 100644 > --- a/fs/ext4/super.c > +++ b/fs/ext4/super.c > @@ -870,7 +870,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) { >
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 0556cd0..2f46b0b 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -870,7 +870,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) {
destroy_workqueue() will do flushing work for us. Signed-off-by: Jun Piao <piaojun@huawei.com> --- fs/ext4/super.c | 1 - 1 file changed, 1 deletion(-) --