summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-02 21:16:54 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-01 23:19:19 -0400
commitc186afb4dbd0050a537b96c7fbee2dba3b57fc38 (patch)
tree4e9f43b3ba20ffbecf8440250a17e1507d53ec5f /mm
parentfbb32750a62df75d1ffea547f3908b21c5496d9f (diff)
downloadlinux-c186afb4dbd0050a537b96c7fbee2dba3b57fc38.tar.gz
linux-c186afb4dbd0050a537b96c7fbee2dba3b57fc38.tar.bz2
linux-c186afb4dbd0050a537b96c7fbee2dba3b57fc38.zip
switch ->is_partially_uptodate() to saner arguments
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm')
-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);
}