projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56b0733
)
Add missing semaphore release.
author
Thomas Hellstrom
<thomas@tungstengraphics.com>
Wed, 5 Jul 2006 14:39:22 +0000
(14:39 +0000)
committer
Thomas Hellstrom
<thomas@tungstengraphics.com>
Wed, 5 Jul 2006 14:39:22 +0000
(14:39 +0000)
linux-core/drm_bufs.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_bufs.c
b/linux-core/drm_bufs.c
index
9be1859
..
eb478ba
100644
(file)
--- a/
linux-core/drm_bufs.c
+++ b/
linux-core/drm_bufs.c
@@
-484,8
+484,10
@@
int drm_rmmap_ioctl(struct inode *inode, struct file *filp,
return -EINVAL;
}
- if (!map)
+ if (!map) {
+ up(&dev->struct_sem);
return -EINVAL;
+ }
/* Register and framebuffer maps are permanent */
if ((map->type == _DRM_REGISTERS) || (map->type == _DRM_FRAME_BUFFER)) {