diff options
author | Dennis Zhou (Facebook) <dennisszhou@gmail.com> | 2018-09-11 20:41:33 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-09-22 04:29:13 +0200 |
commit | c839e7a03f92bafd71fd145b470dcdc7f43f2d4c (patch) | |
tree | 2327729d2f67268d179beb22f4ef9db44b156af1 /block/bounce.c | |
parent | blkcg: associate writeback bios with a blkg (diff) | |
download | linux-c839e7a03f92bafd71fd145b470dcdc7f43f2d4c.tar.xz linux-c839e7a03f92bafd71fd145b470dcdc7f43f2d4c.zip |
blkcg: remove bio->bi_css and instead use bio->bi_blkg
Prior patches ensured that all bios are now associated with some blkg.
This now makes bio->bi_css unnecessary as blkg maintains a reference to
the blkcg already.
This patch removes the field bi_css and transfers corresponding uses to
access via bi_blkg.
Signed-off-by: Dennis Zhou <dennisszhou@gmail.com>
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 'block/bounce.c')
-rw-r--r-- | block/bounce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/bounce.c b/block/bounce.c index 7a08703b1204..b30071ac4ec6 100644 --- a/block/bounce.c +++ b/block/bounce.c @@ -257,7 +257,7 @@ static struct bio *bounce_clone_bio(struct bio *bio_src, gfp_t gfp_mask, } } - bio_clone_blkcg_association(bio, bio_src); + bio_clone_blkg_association(bio, bio_src); blkcg_bio_issue_init(bio); |