diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-05-11 14:29:52 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 16:55:50 +0100 |
commit | 6394b9358e6187414b7a6de7ba2c681ee4a790ac (patch) | |
tree | 0750ef2de127925d86f726287b726792f8b43cb8 /drivers/block/drbd/drbd_receiver.c | |
parent | 7dc1d67f7c324e5bf23883b94508112ca7a70f62 (diff) | |
download | lwn-6394b9358e6187414b7a6de7ba2c681ee4a790ac.tar.gz lwn-6394b9358e6187414b7a6de7ba2c681ee4a790ac.zip |
drbd: Refer to resync-rate consistently throughout the code
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_receiver.c')
-rw-r--r-- | drivers/block/drbd/drbd_receiver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index e4e8f8a408d1..684f79542727 100644 --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c @@ -3221,7 +3221,7 @@ static int receive_SyncParam(struct drbd_tconn *tconn, struct packet_info *pi) old_disk_conf = mdev->ldev->disk_conf; *new_disk_conf = *old_disk_conf; - new_disk_conf->resync_rate = be32_to_cpu(p->rate); + new_disk_conf->resync_rate = be32_to_cpu(p->resync_rate); } if (apv >= 88) { |