drm/bo: fix stupid lock imbalance
parent
080a45624b
commit
1f66021854
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue