Commit:     3a424f2d56613acfb9e583ec9c85a2be3e3af028
Parent:     adb4ddbbfb90c302e78da68b3f015588ca45d7f3
Author:     Emil Medve <[EMAIL PROTECTED]>
AuthorDate: Wed Oct 24 14:18:32 2007 +0200
Committer:  Jens Axboe <[EMAIL PROTECTED]>
CommitDate: Mon Oct 29 11:33:06 2007 +0100

    Fix a build error when BLOCK=n
    mm/filemap.c: In function '__filemap_fdatawrite_range':
    mm/filemap.c:200: error: implicit declaration of function
    This happens when we don't use/have any block devices and a NFS root
    filesystem is used.
    mapping_cap_writeback_dirty() is defined in linux/backing-dev.h which
    used to be provided in mm/filemap.c by linux/blkdev.h until commit
    f5ff8422bbdd59f8c1f699df248e1b7a11073027 (Fix warnings with
    Signed-off-by: Emil Medve <[EMAIL PROTECTED]>
    Signed-off-by: Jens Axboe <[EMAIL PROTECTED]>
 mm/filemap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/mm/filemap.c b/mm/filemap.c
index 5209e47..7c86436 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -28,6 +28,7 @@
 #include <linux/backing-dev.h>
 #include <linux/pagevec.h>
 #include <linux/blkdev.h>
+#include <linux/backing-dev.h>
 #include <linux/security.h>
 #include <linux/syscalls.h>
 #include <linux/cpuset.h>
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to