mm: only include blk_types in swap.h if CONFIG_SWAP is enabled
It's only needed for the CONFIG_SWAP-only use of bio_end_io_t. Because CONFIG_SWAP implies CONFIG_BLOCK this will allow to drop some ifdefs in blk_types.h. Instead we'll need to add a few explicit includes that were implicit before, though. Signed-off-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Jens Axboe <axboe@fb.com>
Showing
- drivers/staging/lustre/include/linux/lnet/types.h 1 addition, 0 deletionsdrivers/staging/lustre/include/linux/lnet/types.h
- drivers/staging/lustre/lustre/llite/rw.c 1 addition, 0 deletionsdrivers/staging/lustre/lustre/llite/rw.c
- fs/ntfs/aops.c 1 addition, 0 deletionsfs/ntfs/aops.c
- fs/ntfs/mft.c 1 addition, 0 deletionsfs/ntfs/mft.c
- fs/reiserfs/inode.c 1 addition, 0 deletionsfs/reiserfs/inode.c
- fs/splice.c 1 addition, 0 deletionsfs/splice.c
- include/linux/swap.h 3 additions, 1 deletioninclude/linux/swap.h
Loading
Please register or sign in to comment