diff options
author | Christoph Hellwig <hch@lst.de> | 2016-11-01 14:40:16 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-11-01 16:43:26 +0100 |
commit | be297968da22cf40c9c419df51e71ba8856a2ec2 (patch) | |
tree | 2aff842b99f54ff0c920f6fca1d53c531975240e /fs/romfs | |
parent | ceph: don't include blk_types.h in messenger.h (diff) | |
download | linux-be297968da22cf40c9c419df51e71ba8856a2ec2.tar.xz linux-be297968da22cf40c9c419df51e71ba8856a2ec2.zip |
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>
Diffstat (limited to 'fs/romfs')
0 files changed, 0 insertions, 0 deletions