]> sourceware.org Git - lvm2.git/commitdiff
Fix last checkin for replicator.
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 29 Nov 2011 12:10:38 +0000 (12:10 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Tue, 29 Nov 2011 12:10:38 +0000 (12:10 +0000)
lib/replicator/replicator.c

index 1d3132b90021f95544896729bf29dfeb73b5ad97..cfc9cd61bd29f46f7da2d883dd1f4c602533944a 100644 (file)
@@ -626,8 +626,8 @@ static int _replicator_dev_add_target_line(struct dev_manager *dm,
                log_very_verbose("Inactive replicator %s using %s.",
                                 seg->lv->name, seg->lv->rdevice->lv->name);
                if (!add_linear_area_to_dtree(node, seg->lv->size, seg->lv->vg->extent_size,
-                                             dm->cmd->use_linear_target,
-                                             seg->lv->vg->name, seg->lv_name))
+                                             cmd->use_linear_target,
+                                             seg->lv->vg->name, seg->lv->name))
                        return_0;
                if (!(rdev_dlid = build_dm_uuid(mem, seg->lv->rdevice->lv->lvid.s, NULL)))
                        return_0;
This page took 0.036453 seconds and 5 git commands to generate.