t; Cc: Inki Dae; Kyungmin Park
> Subject: [PATCH] drm/exynos: fix deadlock issue at mmap
>
> This patch fixes the deadlock issue when another process requested
> mmap system call.
>
> This issue can incur the deadlock if another process sharing the same
> file called mmap system
This patch fixes the deadlock issue when another process requested
mmap system call.
This issue can incur the deadlock if another process sharing the same
file called mmap system call between ->f_op pointer chaning and restoring.
So this patch calls down_write(&mm->mmap_sem) before do_mmap_pgoff