Fix warnings with !CONFIG_BLOCK
authorJens Axboe <jens.axboe@oracle.com>
Fri, 21 Sep 2007 07:19:54 +0000 (09:19 +0200)
committerJens Axboe <axboe@carl.home.kernel.dk>
Wed, 10 Oct 2007 07:25:57 +0000 (09:25 +0200)
commitf5ff8422bbdd59f8c1f699df248e1b7a11073027
treecdd0777acc58c0badd2d0ae66f3efc2f7318e776
parent3317fedba9446465082bcc6ce1232451ad1d51ce
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>
fs/fs-writeback.c
include/linux/blkdev.h
include/linux/writeback.h
kernel/sched.c
mm/readahead.c