aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
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
commit729e5925fb20ed1c5bc4fd7cea76ce3248771024 (patch)
tree6cb72c41b4536e9fad381d0e221000ef31457f92 /target/linux
parent141b4fbe83c9de41b7d803286c6c8c82ea8eda80 (diff)
downloadmaster-187ad058-729e5925fb20ed1c5bc4fd7cea76ce3248771024.tar.gz
master-187ad058-729e5925fb20ed1c5bc4fd7cea76ce3248771024.tar.bz2
master-187ad058-729e5925fb20ed1c5bc4fd7cea76ce3248771024.zip
fix mmap issues caused by the vm_exports patch (thx, danm)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14902 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-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 c11316edf9..35126ee8ff 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 076102e26f..3acf980a85 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