projects
/
openwrt
/
staging
/
yousong.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/staging/yousong.git]
/
target
/
linux
/
generic-2.6
/
patches-2.6.27
/
980-vm_exports.patch
diff --git
a/target/linux/generic-2.6/patches-2.6.27/980-vm_exports.patch
b/target/linux/generic-2.6/patches-2.6.27/980-vm_exports.patch
index c11316edf94fe25bb74011fda7024e8ce7d29f2c..35126ee8ff9746f0488dd03b43d6a0a4d18ec058 100644
(file)
--- a/
target/linux/generic-2.6/patches-2.6.27/980-vm_exports.patch
+++ b/
target/linux/generic-2.6/patches-2.6.27/980-vm_exports.patch
@@
-25,7
+25,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