]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: remove unnecessary flush_workqueue
authorLi Lei <lilei@szsandstone.com>
Mon, 19 Sep 2022 16:16:43 +0000 (00:16 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Sep 2022 17:12:35 +0000 (11:12 -0600)
commit61e2ccde711a857a483335bc4a9d00c1a354f16a
treefc0709cea905201095f20c822677bd647033ec24
parentb2c663458e2893215c24694f2d6d7ca10dcfa6b8
bcache: remove unnecessary flush_workqueue

All pending works will be drained by destroy_workqueue(), no need to call
flush_workqueue() explicitly.

Signed-off-by: Li Lei <lilei@szsandstone.com>
Signed-off-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20220919161647.81238-2-colyli@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/writeback.c