diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-01-19 14:12:51 +0100 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-08-29 11:27:07 +0200 |
commit | 31890f4ab299c4116cf0a104ca9ce4f9ca2c5da0 (patch) | |
tree | 34a09f5538074dae8b063b7a1a4510bd5bdc02ea /drivers/block/drbd/drbd_req.c | |
parent | e6b3ea83bc72e126247b241c1164794a644d6fdc (diff) | |
download | lwn-31890f4ab299c4116cf0a104ca9ce4f9ca2c5da0.tar.gz lwn-31890f4ab299c4116cf0a104ca9ce4f9ca2c5da0.zip |
drbd: moved agreed_pro_version, last_received and ko_count to tconn
sed -i \
-e 's/mdev->agreed_pro_version/mdev->tconn->agreed_pro_version/g' \
-e 's/mdev->last_received/mdev->tconn->last_received/g' \
-e 's/mdev->ko_count/mdev->tconn->ko_count/g' \
*.[ch]
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.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 ac43e440d660..c871ef2414fa 100644 --- a/drivers/block/drbd/drbd_req.c +++ b/drivers/block/drbd/drbd_req.c @@ -951,7 +951,7 @@ allocate_barrier: _req_mod(req, QUEUE_FOR_SEND_OOS); if (remote && - mdev->tconn->net_conf->on_congestion != OC_BLOCK && mdev->agreed_pro_version >= 96) { + mdev->tconn->net_conf->on_congestion != OC_BLOCK && mdev->tconn->agreed_pro_version >= 96) { int congested = 0; if (mdev->tconn->net_conf->cong_fill && |