Skip to content

Commit 5ad8b7d

Browse files
Helge Bahmannairlied
authored andcommitted
drm: fix double lock typo
[airlied: you shall not retype patches from other trees half asleep] Signed-of-by: Dave Airlie <airlied@redhat.com>
1 parent fec6c6f commit 5ad8b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/drm_stub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ int drm_setmaster_ioctl(struct drm_device *dev, void *data,
168168
file_priv->minor->master != file_priv->master) {
169169
mutex_lock(&dev->struct_mutex);
170170
file_priv->minor->master = drm_master_get(file_priv->master);
171-
mutex_lock(&dev->struct_mutex);
171+
mutex_unlock(&dev->struct_mutex);
172172
}
173173

174174
return 0;

0 commit comments

Comments
 (0)