From 1f6602185455957bde0fac09dcab5215326d49a0 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 15 Nov 2008 12:30:09 +1000 Subject: drm/bo: fix stupid lock imbalance --- linux-core/drm_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-core/drm_bo.c b/linux-core/drm_bo.c index 9cf23f21..a1a8098e 100644 --- a/linux-core/drm_bo.c +++ b/linux-core/drm_bo.c @@ -785,8 +785,8 @@ out: } drm_bo_add_to_lru(bo); BUG_ON(bo->priv_flags & _DRM_BO_FLAG_UNLOCKED); -out_unlock: mutex_unlock(&dev->struct_mutex); +out_unlock: return ret; } -- cgit v1.2.3