blk-cgroup: clean up after commit f1c006f1c685
Subsystems (3)
PATCH 1/1 blk-cgroup: clean up after commit f1c006f1c685
Commit f1c006f1c685 moved deletion of the list blkg->q_node from blkg_destroy() to blkg_free_workfn(). Clean up the now useless variable.
--- block/blk-cgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
block/blk-cgroup.c +2 -2
@@ -575,13 +575,13 @@ static void blkg_destroy(struct blkcg_gq *blkg)static void blkg_destroy_all (struct gendisk *disk) {struct request_queue *q = disk->queue; -struct blkcg_gq *blkg, *n; +struct blkcg_gq *blkg;int count =BLKG_DESTROY_BATCH_SIZE ;int i; restart:spin_lock_irq (&q->queue_lock); -list_for_each_entry_safe (blkg, n, &q->blkg_list, q_node) { +list_for_each_entry (blkg, &q->blkg_list, q_node) {struct blkcg *blkcg = blkg->blkcg;if (hlist_unhashed (&blkg->blkcg_node))
Signature · 1 line
2.43.0
Quoted 5 lines · Daniel Vacek
Commit
f1c006f1c685moved deletion of the listblkg->q_nodefromblkg_destroy()toblkg_free_workfn(). Clean up the now useless variable.Signed-off-by Daniel Vacek <[email protected]>
Thanks.
Signature · 1 line
tejun
Jens Axboe
maintainerQuoted 3 lines · Daniel Vacek
Commit
f1c006f1c685moved deletion of the listblkg->q_nodefromblkg_destroy()toblkg_free_workfn(). Clean up the now useless variable.
I'll fix up your commit this time, but please take a look at your title and tell me if you think it's a good one? Not very descriptive, is it.
Signature · 1 line
Jens Axboe
Quoted 5 lines · Daniel Vacek
Commit
f1c006f1c685moved deletion of the listblkg->q_nodefromblkg_destroy()toblkg_free_workfn(). Clean up the now useless variable.
Applied, thanks!
[1/1] blk-cgroup: clean up after commit f1c006f1c685
commit: fab4c16c527e24c804efa4992b3cf40438c9b227
Best regards,
Signature · 1 line
Jens Axboe