aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Bahmann <helge.bahmann@secunet.com>2009-03-04 06:49:14 -0500
committerDave Airlie <airlied@linux.ie>2009-03-04 06:49:14 -0500
commit5ad8b7d12605e88d1e532061699102797fdefe08 (patch)
treefd930824114374337f22f2fae55fc28067655401
parentfec6c6fec3e20637bee5d276fb61dd8b49a3f9cc (diff)
drm: fix double lock typo
[airlied: you shall not retype patches from other trees half asleep] Signed-of-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/drm_stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c
index 096e2a37446d..7c8b15b22bf2 100644
--- a/drivers/gpu/drm/drm_stub.c
+++ b/drivers/gpu/drm/drm_stub.c
@@ -168,7 +168,7 @@ int drm_setmaster_ioctl(struct drm_device *dev, void *data,
168 file_priv->minor->master != file_priv->master) { 168 file_priv->minor->master != file_priv->master) {
169 mutex_lock(&dev->struct_mutex); 169 mutex_lock(&dev->struct_mutex);
170 file_priv->minor->master = drm_master_get(file_priv->master); 170 file_priv->minor->master = drm_master_get(file_priv->master);
171 mutex_lock(&dev->struct_mutex); 171 mutex_unlock(&dev->struct_mutex);
172 } 172 }
173 173
174 return 0; 174 return 0;