mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
mm: use helper for calling f_op->mmap()
Signed-off-by: Miklos Szeredi <[email protected]>
This commit is contained in:
parent
bb7462b6fd
commit
f74ac01520
7 changed files with 12 additions and 7 deletions
|
|
@ -1668,7 +1668,7 @@ unsigned long mmap_region(struct file *file, unsigned long addr,
|
|||
* new file must not have been exposed to user-space, yet.
|
||||
*/
|
||||
vma->vm_file = get_file(file);
|
||||
error = file->f_op->mmap(file, vma);
|
||||
error = call_mmap(file, vma);
|
||||
if (error)
|
||||
goto unmap_and_free_vma;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue