]> git.baikalelectronics.ru Git - kernel.git/commit
include: remove pagemap.h from blkdev.h
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 7 May 2021 01:02:27 +0000 (18:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 May 2021 02:24:11 +0000 (19:24 -0700)
commit528ee0c090c15eff5097d8ad87df31f8b5a6c161
treee4872718c04099fbd30bbebabb4302c8243337b4
parentbc5112a9cb698d092d443a1c825831864728ed3c
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: Linus Torvalds <torvalds@linux-foundation.org>
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