ext4: no need flush workqueue before destroying it
PATCH 1/1 ext4: no need flush workqueue before destroying it
destroy_workqueue() will do flushing work for us.
Signed-off-by Jun Piao <[email protected]>
--- fs/ext4/super.c | 1 - 1 file changed, 1 deletion(-)
fs/ext4/super.c +0 -1
@@ -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) {
Hi Ted,
Could you help reviewing my patch?
thanks,
Jun
Quoted 20 lines · piaojun
destroy_workqueue()will do flushing work for us.Signed-off-by Jun Piao <[email protected]>--- fs/ext4/super.c | 1 - 1 file changed, 1 deletion(-)fs/ext4/super.c +0
-1@@ -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) {