]> www.infradead.org Git - users/jedix/linux-maple.git/commit
include: remove pagemap.h from blkdev.h
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 13 Apr 2021 22:21:14 +0000 (08:21 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Apr 2021 22:21:14 +0000 (08:21 +1000)
commit92d75cef4056a8d114d54c86e027adb531ce08a2
tree4be1d29a595ad60c6d1001dca1a6509d4c227de2
parent8e13c9ae85f7a4abc89a486d14ef2dca9a3f3905
include: remove pagemap.h from blkdev.h

My UEK-derived config has 1030 files depending on pagemap.h before this
change.  Afterwards, just 326 files need to be rebuilt when I touch
pagemap.h.  I think blkdev.h is probably included too widely, but
untangling that dependency is harder and this solves my problem.  x86
allmodconfig builds, but there may be implicit include problems on other
architectures.

Link: https://lkml.kernel.org/r/20210309195747.283796-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Dan Williams <dan.j.williams@intel.com> [nvdimm]
Acked-by: Jens Axboe <axboe@kernel.dk> [block]
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Coly Li <colyli@suse.de> [bcache]
Acked-by: Martin K. Petersen <martin.petersen@oracle.com> [scsi]
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
block/blk-settings.c
drivers/block/brd.c
drivers/block/loop.c
drivers/md/bcache/super.c
drivers/nvdimm/btt.c
drivers/nvdimm/pmem.c
drivers/scsi/scsicam.c
include/linux/blkdev.h
include/linux/swap.h