git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tcp: enforce tcp_min_snd_mss in tcp_mtu_probing()
[pandora-kernel.git]
/
mm
/
madvise.c
diff --git
a/mm/madvise.c
b/mm/madvise.c
index
11c0225
..
42f4fd5
100644
(file)
--- a/
mm/madvise.c
+++ b/
mm/madvise.c
@@
-128,6
+128,7
@@
static long madvise_willneed(struct vm_area_struct * vma,
{
struct file *file = vma->vm_file;
+ *prev = vma;
if (!file)
return -EBADF;
@@
-136,7
+137,6
@@
static long madvise_willneed(struct vm_area_struct * vma,
return 0;
}
- *prev = vma;
start = ((start - vma->vm_start) >> PAGE_SHIFT) + vma->vm_pgoff;
if (end > vma->vm_end)
end = vma->vm_end;