Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139619
b: refs/heads/master
c: 58984ce
h: refs/heads/master
i:
  139617: 3238301
  139615: ed9d767
v: v3
  • Loading branch information
Martin Schwidefsky authored and Linus Torvalds committed Apr 3, 2009
1 parent 17def0a commit 4aa0862
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 417b43d4b728619e9bcc2da4fa246a6350d46667
refs/heads/master: 58984ce21d315b70df1a43644df7416ea7c9bfd8
4 changes: 2 additions & 2 deletions trunk/mm/filemap_xip.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ do_xip_mapping_read(struct address_space *mapping,
}
}
nr = nr - offset;
if (nr > len)
nr = len;
if (nr > len - copied)
nr = len - copied;

error = mapping->a_ops->get_xip_mem(mapping, index, 0,
&xip_mem, &xip_pfn);
Expand Down

0 comments on commit 4aa0862

Please sign in to comment.