diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-09-21 03:19:54 -0400 |
---|---|---|
committer | Jens Axboe <axboe@carl.home.kernel.dk> | 2007-10-10 03:25:57 -0400 |
commit | f5ff8422bbdd59f8c1f699df248e1b7a11073027 (patch) | |
tree | cdd0777acc58c0badd2d0ae66f3efc2f7318e776 /mm | |
parent | 3317fedba9446465082bcc6ce1232451ad1d51ce (diff) |
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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/readahead.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/readahead.c b/mm/readahead.c index 39bf45d43320..be20c9d699d3 100644 --- a/mm/readahead.c +++ b/mm/readahead.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/backing-dev.h> | 15 | #include <linux/backing-dev.h> |
16 | #include <linux/task_io_accounting_ops.h> | 16 | #include <linux/task_io_accounting_ops.h> |
17 | #include <linux/pagevec.h> | 17 | #include <linux/pagevec.h> |
18 | #include <linux/pagemap.h> | ||
18 | 19 | ||
19 | void default_unplug_io_fn(struct backing_dev_info *bdi, struct page *page) | 20 | void default_unplug_io_fn(struct backing_dev_info *bdi, struct page *page) |
20 | { | 21 | { |