drm/bo: fix stupid lock imbalance

main
Dave Airlie 2008-11-15 12:30:09 +10:00
parent 080a45624b
commit 1f66021854
1 changed files with 1 additions and 1 deletions

View File

@ -785,8 +785,8 @@ out:
} }
drm_bo_add_to_lru(bo); drm_bo_add_to_lru(bo);
BUG_ON(bo->priv_flags & _DRM_BO_FLAG_UNLOCKED); BUG_ON(bo->priv_flags & _DRM_BO_FLAG_UNLOCKED);
out_unlock:
mutex_unlock(&dev->struct_mutex); mutex_unlock(&dev->struct_mutex);
out_unlock:
return ret; return ret;
} }