diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-01 10:59:30 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-01 07:27:23 -0600 |
commit | 84bc83c3baf28c0afda78db2cb721be64c2eb238 (patch) | |
tree | bfb3545670e3853f77c3587ddcec2f0d9c956062 /drivers/block/drbd/drbd_req.c | |
parent | 82bb454d07230e734e15475ae70acb834279c684 (diff) | |
download | linux-stable-84bc83c3baf28c0afda78db2cb721be64c2eb238.tar.gz linux-stable-84bc83c3baf28c0afda78db2cb721be64c2eb238.tar.bz2 linux-stable-84bc83c3baf28c0afda78db2cb721be64c2eb238.zip |
drbd: stop using ->queuedata
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>
Diffstat (limited to 'drivers/block/drbd/drbd_req.c')
-rw-r--r-- | drivers/block/drbd/drbd_req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_req.c b/drivers/block/drbd/drbd_req.c index c80a2f1c3c2a..3f09b2ab9778 100644 --- a/drivers/block/drbd/drbd_req.c +++ b/drivers/block/drbd/drbd_req.c @@ -1595,7 +1595,7 @@ void do_submit(struct work_struct *ws) 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); |