]> err.no Git - linux-2.6/commitdiff
[PATCH] pr_debug: umem: repair nonexistant bh pr_debug reference
authorZach Brown <zach.brown@oracle.com>
Tue, 3 Oct 2006 08:16:07 +0000 (01:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:19 +0000 (08:04 -0700)
umem: repair nonexistant bh pr_debug reference

Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/umem.c

index 5d8925bd90454c68d33d00d3263e93dac09b91df..cbb9d0f21acc7d8f52dbdbacb499465172b36982 100644 (file)
@@ -552,7 +552,8 @@ static void process_page(unsigned long data)
 static int mm_make_request(request_queue_t *q, struct bio *bio)
 {
        struct cardinfo *card = q->queuedata;
-       pr_debug("mm_make_request %ld %d\n", bh->b_rsector, bh->b_size);
+       pr_debug("mm_make_request %llu %u\n",
+                (unsigned long long)bio->bi_sector, bio->bi_size);
 
        bio->bi_phys_segments = bio->bi_idx; /* count of completed segments*/
        spin_lock_irq(&card->lock);