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>
Showing
- drivers/gpu/drm/i915/i915_utils.h 1 addition, 0 deletionsdrivers/gpu/drm/i915/i915_utils.h
- fs/btrfs/inode.c 1 addition, 0 deletionsfs/btrfs/inode.c
- fs/quota/quota.c 1 addition, 0 deletionsfs/quota/quota.c
- include/linux/writeback.h 5 additions, 9 deletionsinclude/linux/writeback.h
- lib/random32.c 1 addition, 0 deletionslib/random32.c
Loading
Please register or sign in to comment