Fixed two things Rik pointed out in the last commit

main
Jeff Hartmann 2000-09-28 15:09:39 +00:00
parent 550dff98b0
commit ed2d0b4bb0
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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);