Skip to content

Commit

Permalink
drm: fix double lock typo
Browse files Browse the repository at this point in the history
[airlied: you shall not retype patches from other trees half asleep]

Signed-of-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Helge Bahmann authored and Dave Airlie committed Mar 4, 2009
1 parent fec6c6f commit 5ad8b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5ad8b7d

Please sign in to comment.