summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-16 22:14:22 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-16 22:14:22 +0000
commit9b8ce25ba3ae2f8858e5dbc4547815eeff8aee09 (patch)
tree7450575d785624f779a8fe82607f1699c1e148cd /target
parent1c7a03659c5f4dd08add3e561c9f8dd93cc421c6 (diff)
downloadmtk-20170518-9b8ce25ba3ae2f8858e5dbc4547815eeff8aee09.zip
mtk-20170518-9b8ce25ba3ae2f8858e5dbc4547815eeff8aee09.tar.gz
mtk-20170518-9b8ce25ba3ae2f8858e5dbc4547815eeff8aee09.tar.bz2
fix mmap issues caused by the vm_exports patch (thx, danm)
SVN-Revision: 14902
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic-2.6/patches-2.6.27/980-vm_exports.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.28/980-vm_exports.patch2
2 files changed, 2 insertions, 2 deletions
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 c11316e..35126ee 100644
--- 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
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 076102e..3acf980 100644
--- 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