mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-03 11:40:22 +01:00
Don't take dev->struct_mutex twice in drm_setsareactx.
This commit is contained in:
parent
91990946fa
commit
1814a829eb
1 changed files with 0 additions and 2 deletions
|
|
@ -245,8 +245,6 @@ int drm_setsareactx(struct inode *inode, struct file *filp,
|
|||
if (!map)
|
||||
goto bad;
|
||||
|
||||
mutex_lock(&dev->struct_mutex);
|
||||
|
||||
ctx_sarea = idr_find(&dev->ctx_idr, request.ctx_id);
|
||||
if (!ctx_sarea)
|
||||
goto bad;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue