git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd: safer initialization order in find_file()
[safe/jmp/linux-2.6]
/
mm
/
nommu.c
diff --git
a/mm/nommu.c
b/mm/nommu.c
index
089982f
..
63fa17d
100644
(file)
--- a/
mm/nommu.c
+++ b/
mm/nommu.c
@@
-162,7
+162,7
@@
int __get_user_pages(struct task_struct *tsk, struct mm_struct *mm,
}
if (vmas)
vmas[i] = vma;
- start
+= PAGE_SIZE
;
+ start
= (start + PAGE_SIZE) & PAGE_MASK
;
}
return i;