

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 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	2005-02-22 18:17:32.000000000 -0800
+++ 25-akpm/drivers/block/ll_rw_blk.c	2005-02-22 18:17:32.000000000 -0800
@@ -1477,6 +1477,7 @@ EXPORT_SYMBOL(__generic_unplug_device);
  **/
 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);
_
