From f2b9ecc41654256ae8829193d3380935833ae976 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Tue, 3 Oct 2006 01:16:07 -0700 Subject: [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 --- drivers/block/umem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/block/umem.c') diff --git a/drivers/block/umem.c b/drivers/block/umem.c index 5d8925bd9045..cbb9d0f21acc 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); -- cgit v1.2.3