summaryrefslogtreecommitdiff
path: root/fs/super.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2010-04-29 20:33:35 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-04-29 20:33:35 +0200
commit5477d0face8a3ba4e9a1e7283692fff9c92f8e5e (patch)
tree59bdad300f2be01911f9120e349b22664f199387 /fs/super.c
parent79dba2eaa771c3173957eccfd288e0e0d12e4d3f (diff)
downloadlinux-stable-5477d0face8a3ba4e9a1e7283692fff9c92f8e5e.tar.gz
linux-stable-5477d0face8a3ba4e9a1e7283692fff9c92f8e5e.tar.bz2
linux-stable-5477d0face8a3ba4e9a1e7283692fff9c92f8e5e.zip
fs: fs/super.c needs to include backing-dev.h for !CONFIG_BLOCK
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>
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/super.c b/fs/super.c
index dc72491a19f9..1527e6a0ee35 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -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"