


---

 25-akpm/drivers/block/ll_rw_blk.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN drivers/block/ll_rw_blk.c~unplug-can-sleep drivers/block/ll_rw_blk.c
--- 25/drivers/block/ll_rw_blk.c~unplug-can-sleep	2004-05-15 11:19:21.252948392 -0700
+++ 25-akpm/drivers/block/ll_rw_blk.c	2004-05-15 11:19:21.264946568 -0700
@@ -1151,6 +1151,7 @@ static inline void __generic_unplug_devi
  **/
 void generic_unplug_device(request_queue_t *q)
 {
+	might_sleep();
 	spin_lock_irq(q->queue_lock);
 	__generic_unplug_device(q);
 	spin_unlock_irq(q->queue_lock);

_
