Skip to content
Commit b28d3e89 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa Committed by Mayank Rana
Browse files

USB: f_mtp: Perform vfs_write under mutex protection



Use mutex protection to avoid request buffer freed while vfs_write or
copy_to_user happening if disconnect occurs.

Change-Id: Ie353b7495a8b7541f136d7e7ba3fc71db86987e8
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent d98d9ee8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment