diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 14:47:32 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 14:47:32 -0700 |
commit | 53253383fde9e41bc07ad4d99f1c8b537fef71d6 (patch) | |
tree | 69154c2bbd3ea63ed2396b2bb2e9493b2614aa91 /mm/filemap.c | |
parent | a57793651ff1a09ef18bade998632435ca2dc13f (diff) | |
download | lwn-53253383fde9e41bc07ad4d99f1c8b537fef71d6.tar.gz lwn-53253383fde9e41bc07ad4d99f1c8b537fef71d6.zip |
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>
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 1 |
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 @@ #include <linux/uio.h> #include <linux/hash.h> #include <linux/writeback.h> +#include <linux/backing-dev.h> #include <linux/pagevec.h> #include <linux/blkdev.h> #include <linux/security.h> |