summaryrefslogtreecommitdiff
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
parent550dff98b0cf08687cdde697fc6909aeb9cef30f (diff)
Fixed two things Rik pointed out in the last commit
-rw-r--r--linux-core/mga_drv.c1
-rw-r--r--linux/mga_drv.c1
2 files changed, 2 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);
diff --git a/linux/mga_drv.c b/linux/mga_drv.c
index 0ccf0a70..a8cf0c78 100644
--- a/linux/mga_drv.c
+++ b/linux/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);