summaryrefslogtreecommitdiffstats
path: root/mm/filemap.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-03 03:16:54 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-02 05:19:19 +0200
commitc186afb4dbd0050a537b96c7fbee2dba3b57fc38 (patch)
tree4e9f43b3ba20ffbecf8440250a17e1507d53ec5f /mm/filemap.c
parentpipe: kill ->map() and ->unmap() (diff)
downloadlinux-c186afb4dbd0050a537b96c7fbee2dba3b57fc38.tar.xz
linux-c186afb4dbd0050a537b96c7fbee2dba3b57fc38.zip
switch ->is_partially_uptodate() to saner arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--mm/filemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/filemap.c b/mm/filemap.c
index 7a13f6ac5421..46e98019af6c 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1148,7 +1148,7 @@ find_page:
if (!page->mapping)
goto page_not_up_to_date_locked;
if (!mapping->a_ops->is_partially_uptodate(page,
- desc, offset))
+ offset, desc->count))
goto page_not_up_to_date_locked;
unlock_page(page);
}