From: Zach Brown Date: Tue, 3 Oct 2006 08:16:07 +0000 (-0700) Subject: [PATCH] pr_debug: umem: repair nonexistant bh pr_debug reference X-Git-Tag: v2.6.19-rc1~229 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2b9ecc41654256ae8829193d3380935833ae976;p=linux-2.6 [PATCH] pr_debug: umem: repair nonexistant bh pr_debug reference umem: repair nonexistant bh pr_debug reference Signed-off-by: Zach Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/umem.c b/drivers/block/umem.c index 5d8925bd90..cbb9d0f21a 100644 --- a/drivers/block/umem.c +++ b/drivers/block/umem.c @@ -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);