mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 14:47:46 +01:00
fix mmap issues caused by the vm_exports patch (thx, danm)
SVN-Revision: 14902
This commit is contained in:
parent
1c7a03659c
commit
9b8ce25ba3
@ -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