]> Git Repo - linux.git/commit
block: really clone the block cgroup in bio_clone_blkg_association
authorChristoph Hellwig <[email protected]>
Sat, 27 Jun 2020 07:31:48 +0000 (09:31 +0200)
committerJens Axboe <[email protected]>
Mon, 29 Jun 2020 15:09:08 +0000 (09:09 -0600)
commitd92c370a16cbe0276954c761b874bd024a7e4fac
tree2617a86f8d5aba36e3413b52dc7d932707840db2
parentdb9819c76c1fd48c30699381c94bba5c95dd467e
block: really clone the block cgroup in bio_clone_blkg_association

bio_clone_blkg_association is supposed to clone the associatation, but
actually ends up doing a search with a tryget.  As we know we have a
reference on the source cgroup just get an unconditional additional
reference to it and call it a day.  That also removes the need for
a RCU critical section.

Acked-by: Tejun Heo <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/bio.c
This page took 0.054485 seconds and 4 git commands to generate.