From ed2d0b4bb0bb90af87c7c89a2e0a6297455d3bbe Mon Sep 17 00:00:00 2001 From: Jeff Hartmann Date: Thu, 28 Sep 2000 15:09:39 +0000 Subject: Fixed two things Rik pointed out in the last commit --- linux-core/mga_drv.c | 1 + 1 file changed, 1 insertion(+) (limited to 'linux-core') 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); -- cgit v1.2.3