Instead of setting up the queuedata as well just use one private data
field.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
        if (!q)
                goto out_no_q;
        device->rq_queue = q;
-       q->queuedata   = device;
 
        disk = alloc_disk(1);
        if (!disk)
 
 
 blk_qc_t drbd_make_request(struct request_queue *q, struct bio *bio)
 {
-       struct drbd_device *device = (struct drbd_device *) q->queuedata;
+       struct drbd_device *device = bio->bi_disk->private_data;
        unsigned long start_jif;
 
        blk_queue_split(q, &bio);