projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix mmap issues caused by the vm_exports patch (thx, danm)
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
generic-2.6
/
patches-2.6.28
/
980-vm_exports.patch
diff --git
a/target/linux/generic-2.6/patches-2.6.28/980-vm_exports.patch
b/target/linux/generic-2.6/patches-2.6.28/980-vm_exports.patch
index 076102e26f3338b28bcf7499d078974bb0e03efc..3acf980a8507fc8a3f8979534fcc5d1de16397eb 100644
(file)
--- a/
target/linux/generic-2.6/patches-2.6.28/980-vm_exports.patch
+++ b/
target/linux/generic-2.6/patches-2.6.28/980-vm_exports.patch
@@
-24,7
+24,7
@@
- fput(vma->vm_file);
- vma->vm_file = file;
- vma->vm_ops = &shmem_vm_ops;
-+ shmem_set_file(vma,
vma->vm_
file);
++ shmem_set_file(vma, file);
return 0;
}
--- a/fs/file.c