]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Include <linux/backing-dev.h> in mm/filemap.c
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:47:32 +0000 (14:47 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:47:32 +0000 (14:47 -0700)
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>
mm/filemap.c

index 79f24a969cb4dfef1de95045bb5e9ced44e6243c..920366399eed6a3adb409d58622c74db46abcd7a 100644 (file)
@@ -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>