Fix warnings with !CONFIG_BLOCK
Hide everything in blkdev.h with CONFIG_BLOCK isn't set, and fixup
the (few) files that fail to build because they were relying on blkdev.h
pulling in extra includes for them.
Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>
Showing
- fs/fs-writeback.c 1 addition, 0 deletionsfs/fs-writeback.c
- include/linux/blkdev.h 2 additions, 2 deletionsinclude/linux/blkdev.h
- include/linux/writeback.h 1 addition, 0 deletionsinclude/linux/writeback.h
- kernel/sched.c 1 addition, 0 deletionskernel/sched.c
- mm/readahead.c 1 addition, 0 deletionsmm/readahead.c
Loading
Please register or sign in to comment