aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_req.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-02-21 14:29:27 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-10-14 16:47:58 +0200
commit2f5cdd0b2cf7a4099faa7e53ba0a29ddf0ddf950 (patch)
tree0a90c3b06c455a51536743467e3146bad3507af3 /drivers/block/drbd/drbd_req.c
parent49559d87fdfe3ab33c684506c394681da6a746c9 (diff)
downloadvexpress-lsk-2f5cdd0b2cf7a4099faa7e53ba0a29ddf0ddf950.tar.gz
drbd: Converted the transfer log from mdev to tconn
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_req.c b/drivers/block/drbd/drbd_req.c
index cfa5fba5303..fa799e372ba 100644
--- a/drivers/block/drbd/drbd_req.c
+++ b/drivers/block/drbd/drbd_req.c
@@ -885,7 +885,7 @@ allocate_barrier:
* barrier packet, this request is queued within the same spinlock. */
if ((remote || send_oos) && mdev->tconn->unused_spare_tle &&
test_and_clear_bit(CREATE_BARRIER, &mdev->flags)) {
- _tl_add_barrier(mdev, mdev->tconn->unused_spare_tle);
+ _tl_add_barrier(mdev->tconn, mdev->tconn->unused_spare_tle);
mdev->tconn->unused_spare_tle = NULL;
} else {
D_ASSERT(!(remote && rw == WRITE &&