summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/mga_drv.c1
1 files changed, 1 insertions, 0 deletions
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);