aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 17:47:32 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 17:47:32 -0400
commit53253383fde9e41bc07ad4d99f1c8b537fef71d6 (patch)
tree69154c2bbd3ea63ed2396b2bb2e9493b2614aa91
parenta57793651ff1a09ef18bade998632435ca2dc13f (diff)
Include <linux/backing-dev.h> in mm/filemap.c
It gets it indirectly from blkdev.h when CONFIG_BLOCK is enabled, but it needs it unconditionally for the definition of mapping_cap_writeback_dirty. Noticed and bisected down to 4af3c9cc4fad54c3627e9afebf905aafde5690ed ("Drop some headers from mm.h") by Avuton Olrich. Cc: Avuton Olrich <avuton@gmail.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--mm/filemap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 79f24a969cb4..920366399eed 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -25,6 +25,7 @@
25#include <linux/uio.h> 25#include <linux/uio.h>
26#include <linux/hash.h> 26#include <linux/hash.h>
27#include <linux/writeback.h> 27#include <linux/writeback.h>
28#include <linux/backing-dev.h>
28#include <linux/pagevec.h> 29#include <linux/pagevec.h>
29#include <linux/blkdev.h> 30#include <linux/blkdev.h>
30#include <linux/security.h> 31#include <linux/security.h>