diff options
author | Dennis Zhou <dennis@kernel.org> | 2018-12-05 12:10:35 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-07 22:26:37 -0700 |
commit | db6638d7d177a8bc74c9e539e2e0d7d061c767b1 (patch) | |
tree | 4d797db1677ed41d4c59857f680ef05ff1902b07 /drivers/md/raid0.c | |
parent | fd42df305f804ddc0d5ac028e944784283b2f92d (diff) | |
download | linux-stable-db6638d7d177a8bc74c9e539e2e0d7d061c767b1.tar.gz linux-stable-db6638d7d177a8bc74c9e539e2e0d7d061c767b1.tar.bz2 linux-stable-db6638d7d177a8bc74c9e539e2e0d7d061c767b1.zip |
blkcg: remove bio->bi_css and instead use bio->bi_blkg
Prior patches ensured that any bio that interacts with a request_queue
is properly associated with a blkg. This makes bio->bi_css unnecessary
as blkg maintains a reference to blkcg already.
This removes the bio field bi_css and transfers corresponding uses to
access via bi_blkg.
Signed-off-by: Dennis Zhou <dennis@kernel.org>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/raid0.c')
-rw-r--r-- | drivers/md/raid0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index ac1cffd2a09b..f3fb5bb8c82a 100644 --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c @@ -542,7 +542,7 @@ static void raid0_handle_discard(struct mddev *mddev, struct bio *bio) !discard_bio) continue; bio_chain(discard_bio, bio); - bio_clone_blkcg_association(discard_bio, bio); + bio_clone_blkg_association(discard_bio, bio); if (mddev->gendisk) trace_block_bio_remap(bdev_get_queue(rdev->bdev), discard_bio, disk_devt(mddev->gendisk), |