projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
[linux-2.6-block.git]
/
mm
/
shmem.c
diff --git
a/mm/shmem.c
b/mm/shmem.c
index f4dce9c8670dc2fff58c8ea6e41445c5b7a4269a..1bb3b8dc8bb2113a8232153d3ba9fc5e8c453471 100644
(file)
--- a/
mm/shmem.c
+++ b/
mm/shmem.c
@@
-614,7
+614,7
@@
static int shmem_add_to_page_cache(struct page *page,
if (xas_error(&xas))
goto unlock;
next:
- xas_store(&xas, page
+ i
);
+ xas_store(&xas, page);
if (++i < nr) {
xas_next(&xas);
goto next;