mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -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
|
|
@ -423,7 +423,7 @@ static int shm_mmap(struct file *file, struct vm_area_struct *vma)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = sfd->file->f_op->mmap(sfd->file, vma);
|
||||
ret = call_mmap(sfd->file, vma);
|
||||
if (ret) {
|
||||
shm_close(vma);
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue