Integrated bug fix from David S. Miller (a wait queue removal bug)

main
Jeff Hartmann 2000-11-21 16:18:47 +00:00
parent 679531e166
commit 960f13cdf4
1 changed files with 1 additions and 0 deletions

View File

@ -405,6 +405,7 @@ int drm_dma_enqueue(drm_device_t *dev, drm_dma_t *d)
schedule(); schedule();
if (signal_pending(current)) { if (signal_pending(current)) {
atomic_dec(&q->use_count); atomic_dec(&q->use_count);
remove_wait_queue(&q->write_queue, &entry);
return -EINTR; return -EINTR;
} }
} }