lockdep warned about a possible locking dependency

main
Dave Airlie 2007-12-18 19:17:11 +11:00
parent 01f905c177
commit a19e0efb0e
1 changed files with 1 additions and 1 deletions

View File

@ -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;