@@ -153,11 +153,11 @@ static int linear_make_request (request_queue_t *q, struct bio *bio)
...
@@ -153,11 +153,11 @@ static int linear_make_request (request_queue_t *q, struct bio *bio)
if(block>=(tmp_dev->size+tmp_dev->offset)
if(block>=(tmp_dev->size+tmp_dev->offset)
||block<tmp_dev->offset){
||block<tmp_dev->offset){
printk("linear_make_request: Block %ld out of bounds on dev %s size %ld offset %ld\n",block,bdevname(tmp_dev->bdev),tmp_dev->size,tmp_dev->offset);
printk("linear_make_request: Block %ld out of bounds on dev %s size %ld offset %ld\n",block,bdevname(tmp_dev->rdev->bdev),tmp_dev->size,tmp_dev->offset);