projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79dba2e
)
fs: fs/super.c needs to include backing-dev.h for !CONFIG_BLOCK
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 29 Apr 2010 18:33:35 +0000
(20:33 +0200)
committer
Jens 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
patch
|
blob
|
history
diff --git
a/fs/super.c
b/fs/super.c
index
dc72491
..
1527e6a
100644
(file)
--- 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"