]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - block/blk.h
blk-cgroup: remove blkcg_bio_issue_check
authorChristoph Hellwig <hch@lst.de>
Sat, 27 Jun 2020 07:31:58 +0000 (09:31 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Jun 2020 15:09:08 +0000 (09:09 -0600)
commitdb18a53e5ba840993a3fc908dec648402ed740bd
treeac817b02802ddc83d978605d1b6a4cf687dc59a1
parent93b8063804b62b55248e16499d853e1b20eff905
blk-cgroup: remove blkcg_bio_issue_check

blkcg_bio_issue_check is a giant inline function that does three entirely
different things.  Factor out the blk-cgroup related bio initalization
into a new helper, and the open code the sequence in the only caller,
relying on the fact that all the actual functionality is stubbed out for
non-cgroup builds.

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-core.c
block/blk-throttle.c
block/blk.h
include/linux/blk-cgroup.h