diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-01-03 17:09:58 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-08-25 14:58:05 +0200 |
commit | ace652acf2d7e564dac48c615d9184e7ed575f9c (patch) | |
tree | 6378b0d36924f9dc34341a441bd8611b6e741c67 /drivers/block/drbd/drbd_req.h | |
parent | 0939b0e5cdeeafa0adf0150edd350092e47acc49 (diff) | |
download | linux-stable-ace652acf2d7e564dac48c615d9184e7ed575f9c.tar.gz linux-stable-ace652acf2d7e564dac48c615d9184e7ed575f9c.tar.bz2 linux-stable-ace652acf2d7e564dac48c615d9184e7ed575f9c.zip |
drbd: Put sector and size in struct drbd_request into struct drbd_interval
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_req.h')
-rw-r--r-- | drivers/block/drbd/drbd_req.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_req.h b/drivers/block/drbd/drbd_req.h index a773636cca9d..2520186c4c2b 100644 --- a/drivers/block/drbd/drbd_req.h +++ b/drivers/block/drbd/drbd_req.h @@ -272,8 +272,8 @@ static inline struct drbd_request *drbd_req_new(struct drbd_conf *mdev, req->mdev = mdev; req->master_bio = bio_src; req->epoch = 0; - req->sector = bio_src->bi_sector; - req->size = bio_src->bi_size; + req->i.sector = bio_src->bi_sector; + req->i.size = bio_src->bi_size; INIT_HLIST_NODE(&req->collision); INIT_LIST_HEAD(&req->tl_requests); INIT_LIST_HEAD(&req->w.list); |