summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-09-21 09:19:54 +0200
committerJens Axboe <axboe@carl.home.kernel.dk>2007-10-10 09:25:57 +0200
commitf5ff8422bbdd59f8c1f699df248e1b7a11073027 (patch)
treecdd0777acc58c0badd2d0ae66f3efc2f7318e776 /fs
parent3317fedba9446465082bcc6ce1232451ad1d51ce (diff)
downloadop-kernel-dev-f5ff8422bbdd59f8c1f699df248e1b7a11073027.zip
op-kernel-dev-f5ff8422bbdd59f8c1f699df248e1b7a11073027.tar.gz
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 'fs')
-rw-r--r--fs/fs-writeback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index a4b142a..8d23b0b 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -14,6 +14,7 @@
*/
#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/sched.h>
#include <linux/fs.h>
OpenPOWER on IntegriCloud