aboutsummaryrefslogtreecommitdiffstats
path: root/fs/mpage.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/mpage.c')
-rw-r--r--fs/mpage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/mpage.c b/fs/mpage.c
index 42381bd6543b..fd56ca2ea556 100644
--- a/fs/mpage.c
+++ b/fs/mpage.c
@@ -16,6 +16,7 @@
16#include <linux/module.h> 16#include <linux/module.h>
17#include <linux/mm.h> 17#include <linux/mm.h>
18#include <linux/kdev_t.h> 18#include <linux/kdev_t.h>
19#include <linux/gfp.h>
19#include <linux/bio.h> 20#include <linux/bio.h>
20#include <linux/fs.h> 21#include <linux/fs.h>
21#include <linux/buffer_head.h> 22#include <linux/buffer_head.h>
@@ -561,7 +562,7 @@ page_is_mapped:
561 if (page->index >= end_index) { 562 if (page->index >= end_index) {
562 /* 563 /*
563 * The page straddles i_size. It must be zeroed out on each 564 * The page straddles i_size. It must be zeroed out on each
564 * and every writepage invokation because it may be mmapped. 565 * and every writepage invocation because it may be mmapped.
565 * "A file is mapped in multiples of the page size. For a file 566 * "A file is mapped in multiples of the page size. For a file
566 * that is not a multiple of the page size, the remaining memory 567 * that is not a multiple of the page size, the remaining memory
567 * is zeroed when mapped, and writes to that region are not 568 * is zeroed when mapped, and writes to that region are not