]> git.baikalelectronics.ru Git - kernel.git/commit
mm: don't include <linux/blk-cgroup.h> in <linux/writeback.h>
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Sep 2021 12:33:12 +0000 (14:33 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:01 +0000 (06:17 -0600)
commit5b0311e77e19e9937499ca7d6822fbc2558c21e0
tree951292e682a52babe7dae0b25a403e63520c7fab
parentd7048f2b59b8901d3274df79df6933d8d57bd60c
mm: don't include <linux/blk-cgroup.h> in <linux/writeback.h>

blk-cgroup.h pulls in blkdev.h and thus pretty much all the block
headers.  Break this dependency chain by turning wbc_blkcg_css into a
macro and dropping the blk-cgroup.h include.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210920123328.1399408-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/gpu/drm/i915/i915_utils.h
fs/btrfs/inode.c
fs/quota/quota.c
include/linux/writeback.h
lib/random32.c