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 dc72491..1527e6a 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"