projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3322960
)
drm: missing mutex unlock
author
Thomas Hellstrom
<thomas@tungstengraphics.com>
Mon, 7 Aug 2006 10:28:29 +0000
(20:28 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Thu, 21 Sep 2006 19:32:30 +0000
(
05:32
+1000)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_bufs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/drm/drm_bufs.c
b/drivers/char/drm/drm_bufs.c
index 006b06d29727069b30ff304f5ad58084804a689d..7775fb5dfb9b92b2cb041c7e52b83398730dc9fe 100644
(file)
--- a/
drivers/char/drm/drm_bufs.c
+++ b/
drivers/char/drm/drm_bufs.c
@@
-441,8
+441,10
@@
int drm_rmmap_ioctl(struct inode *inode, struct file *filp,
return -EINVAL;
}
- if (!map)
+ if (!map) {
+ mutex_unlock(&dev->struct_mutex);
return -EINVAL;
+ }
/* Register and framebuffer maps are permanent */
if ((map->type == _DRM_REGISTERS) || (map->type == _DRM_FRAME_BUFFER)) {