summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2007-10-25 10:24:55 +1000
committerDave Airlie <airlied@optimus.(none)>2007-10-25 16:50:23 +1000
commit07abc3384e24356d1302459e2e5c4699ed7b0072 (patch)
tree945d2bcce509284b25e1568c01e08f07f9037427 /linux-core
parent83199c257ea68a7cc0c6928109ff77bf25131819 (diff)
missing mutex unlock bug
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/sis_mm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/sis_mm.c b/linux-core/sis_mm.c
index 7e162a8e..9222b08d 100644
--- a/linux-core/sis_mm.c
+++ b/linux-core/sis_mm.c
@@ -133,6 +133,7 @@ static int sis_drm_alloc(struct drm_device * dev, struct drm_file *file_priv,
dev_priv->agp_initialized)) {
DRM_ERROR
("Attempt to allocate from uninitialized memory manager.\n");
+ mutex_unlock(&dev->struct_mutex);
return -EINVAL;
}