summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-11-15 12:30:09 +1000
committerDave Airlie <airlied@redhat.com>2008-11-15 12:30:09 +1000
commit1f6602185455957bde0fac09dcab5215326d49a0 (patch)
tree85ce04bb9e50ca940e546f67cea001d59b2d4d47
parent080a45624b2b0ac9e0173f5b93760ae018394dd1 (diff)
drm/bo: fix stupid lock imbalance
-rw-r--r--linux-core/drm_bo.c2
1 files changed, 1 insertions, 1 deletions
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;
}