1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-26 14:04:15 +03:00

Fix last checkin for replicator.

This commit is contained in:
Peter Rajnoha 2011-11-29 12:10:38 +00:00
parent 52a9ed70c4
commit bb69784719

View 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;