diff options
author | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-04-03 13:59:07 +0000 |
---|---|---|
committer | hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-04-03 13:59:07 +0000 |
commit | 84b30485742005f4a44388f40191e302a893669c (patch) | |
tree | 1056fb8cb600b3eb55cb097963ad6bcac46a1ac8 /target/linux/generic/patches-2.6.37/980-vm_exports.patch | |
parent | 530ba0e92826541d25012b643a2872b073128ecd (diff) |
kernel: Update to version 2.6.37.6
Thank you Peter Wagner for the patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26441 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.37/980-vm_exports.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.37/980-vm_exports.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/generic/patches-2.6.37/980-vm_exports.patch b/target/linux/generic/patches-2.6.37/980-vm_exports.patch index 2a965b22f..ce4910666 100644 --- a/target/linux/generic/patches-2.6.37/980-vm_exports.patch +++ b/target/linux/generic/patches-2.6.37/980-vm_exports.patch @@ -25,7 +25,7 @@ /** * shmem_file_setup - get an unlinked file living in tmpfs * @name: name for dentry (to be seen in /proc/<pid>/maps -@@ -2780,9 +2791,6 @@ int shmem_zero_setup(struct vm_area_stru +@@ -2780,10 +2791,7 @@ int shmem_zero_setup(struct vm_area_stru if (IS_ERR(file)) return PTR_ERR(file); @@ -34,6 +34,7 @@ - vma->vm_file = file; - vma->vm_ops = &shmem_vm_ops; + shmem_set_file(vma, file); + vma->vm_flags |= VM_CAN_NONLINEAR; return 0; } --- a/fs/file.c |