mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-21 07:30:10 +01:00
lockdep warned about a possible locking dependency
This commit is contained in:
parent
01f905c177
commit
a19e0efb0e
1 changed files with 1 additions and 1 deletions
|
|
@ -472,8 +472,8 @@ int drm_release(struct inode *inode, struct file *filp)
|
||||||
}
|
}
|
||||||
mutex_unlock(&dev->ctxlist_mutex);
|
mutex_unlock(&dev->ctxlist_mutex);
|
||||||
|
|
||||||
mutex_lock(&dev->struct_mutex);
|
|
||||||
drm_fb_release(filp);
|
drm_fb_release(filp);
|
||||||
|
mutex_lock(&dev->struct_mutex);
|
||||||
drm_object_release(filp);
|
drm_object_release(filp);
|
||||||
if (file_priv->remove_auth_on_close == 1) {
|
if (file_priv->remove_auth_on_close == 1) {
|
||||||
struct drm_file *temp;
|
struct drm_file *temp;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue