mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 02:48:37 +02:00
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
This commit is contained in:
parent
0c23be3463
commit
a9ed7ecf22
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user