diff options
author | Helge Bahmann <helge.bahmann@secunet.com> | 2009-03-04 21:49:14 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2009-03-04 21:49:14 +1000 |
commit | 5ad8b7d12605e88d1e532061699102797fdefe08 (patch) | |
tree | fd930824114374337f22f2fae55fc28067655401 /drivers/gpu/drm | |
parent | fec6c6fec3e20637bee5d276fb61dd8b49a3f9cc (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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/drm_stub.c | 2 |
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, file_priv->minor->master != file_priv->master) { mutex_lock(&dev->struct_mutex); file_priv->minor->master = drm_master_get(file_priv->master); - mutex_lock(&dev->struct_mutex); + mutex_unlock(&dev->struct_mutex); } return 0; |