aboutsummaryrefslogtreecommitdiffstats
path: root/xenolinux-2.4.16-sparse/drivers/block/ll_rw_blk.c
diff options
context:
space:
mode:
Diffstat (limited to 'xenolinux-2.4.16-sparse/drivers/block/ll_rw_blk.c')
-rw-r--r--xenolinux-2.4.16-sparse/drivers/block/ll_rw_blk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xenolinux-2.4.16-sparse/drivers/block/ll_rw_blk.c b/xenolinux-2.4.16-sparse/drivers/block/ll_rw_blk.c
index c6d5c9625b..cd1cb7ca9c 100644
--- a/xenolinux-2.4.16-sparse/drivers/block/ll_rw_blk.c
+++ b/xenolinux-2.4.16-sparse/drivers/block/ll_rw_blk.c
@@ -533,6 +533,8 @@ static inline void add_request(request_queue_t * q, struct request * req,
if (!q->plugged && q->head_active && insert_here == &q->queue_head) {
spin_unlock_irq(&io_request_lock);
+ printk("list_empty(&q->queue_head) is %d\n",
+ list_empty(&q->queue_head));
BUG();
}
@@ -771,6 +773,7 @@ get_rq:
req->bhtail = bh;
req->rq_dev = bh->b_rdev;
blk_started_io(count);
+
add_request(q, req, insert_here);
out:
if (freereq)