mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 23:00:11 +01:00
Fixed two things Rik pointed out in the last commit
This commit is contained in:
parent
550dff98b0
commit
ed2d0b4bb0
2 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue