On Mon, Nov 14, 2022 at 10:19:30AM -0800, Chris Mason wrote: > blkcg_css_online is supposed to pin the blkcg of the parent, but > 397c9f46ee4d 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: 397c9f46ee4d ("blk-cgroup: move blkcg_{pin,unpin}_online out of line") > Signed-off-by: Chris Mason <clm@xxxxxx> > Spotted-by: Rik van Riel <riel@xxxxxxxxxxx> > Cc: <stable@xxxxxxxxxxxxxxx> # v5.19+ Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>