]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
fs: fs/super.c needs to include backing-dev.h for !CONFIG_BLOCK
authorJens Axboe <jens.axboe@oracle.com>
Thu, 29 Apr 2010 18:33:35 +0000 (20:33 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 29 Apr 2010 18:33:35 +0000 (20:33 +0200)
When CONFIG_BLOCK is set, it ends up getting backing-dev.h included.
But for !CONFIG_BLOCK, it isn't so lucky. The proper thing to do is
include <linux/backing-dev.h> directly from the file it's used from,
so do that.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/super.c

index dc72491a19f9cde0a388499faf8453f383b5b6e5..1527e6a0ee358d084a29f542816a91c4418f5ef6 100644 (file)
@@ -37,6 +37,7 @@
 #include <linux/kobject.h>
 #include <linux/mutex.h>
 #include <linux/file.h>
+#include <linux/backing-dev.h>
 #include <asm/uaccess.h>
 #include "internal.h"