Files
twx-linux/block
Chris Mason d118247e40 blk-cgroup: properly pin the parent in blkcg_css_online
commit d7dbd43f4a upstream.

blkcg_css_online is supposed to pin the blkcg of the parent, but
397c9f46ee refactored things and along the way, changed it to pin the
css instead.  This results in extra pins, and we end up leaking blkcgs
and cgroups.

Fixes: 397c9f46ee ("blk-cgroup: move blkcg_{pin,unpin}_online out of line")
Signed-off-by: Chris Mason <clm@fb.com>
Spotted-by: Rik van Riel <riel@surriel.com>
Cc: <stable@vger.kernel.org> # v5.19+
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Link: https://lore.kernel.org/r/20221114181930.2093706-1-clm@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-26 09:27:51 +01:00
..
2022-06-27 06:29:12 -06:00
2022-11-10 18:17:26 +01:00
2022-07-14 12:14:30 -06:00
2022-07-14 12:14:30 -06:00
2022-07-14 12:14:30 -06:00
2022-08-08 22:37:15 -04:00