summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJeff Hartmann <jhartmann@valinux.com>2000-09-28 15:09:39 +0000
committerJeff Hartmann <jhartmann@valinux.com>2000-09-28 15:09:39 +0000
commited2d0b4bb0bb90af87c7c89a2e0a6297455d3bbe (patch)
tree6478d848d01e70febd07fccc0c434b28c0274749 /linux-core
parent550dff98b0cf08687cdde697fc6909aeb9cef30f (diff)
Fixed two things Rik pointed out in the last commit
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/mga_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/mga_drv.c b/linux-core/mga_drv.c
index 0ccf0a70..a8cf0c78 100644
--- a/linux-core/mga_drv.c
+++ b/linux-core/mga_drv.c
@@ -545,6 +545,7 @@ int mga_release(struct inode *inode, struct file *filp)
break;
}
}
+ current->state = TASK_RUNNING;
remove_wait_queue(&dev->lock.lock_queue, &entry);
if(!retcode) {
mga_reclaim_buffers(dev, priv->pid);