1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

o extra fid parameter to lv_manip fns

This commit is contained in:
Joe Thornber 2002-01-24 17:15:24 +00:00
parent 9b88d8b78d
commit 168b7bf9e2
2 changed files with 5 additions and 4 deletions

View File

@ -192,7 +192,8 @@ int lvcreate(int argc, char **argv)
if (!archive(vg))
return ECMD_FAILED;
if (!(lv = lv_create(lv_name, status, stripes, stripesize, extents,
if (!(lv = lv_create(fid, lv_name, status,
stripes, stripesize, extents,
vg, pvh)))
return ECMD_FAILED;

View File

@ -284,7 +284,7 @@ int lvresize(int argc, char **argv)
if (!archive(vg))
return ECMD_FAILED;
if (!lv_reduce(lv, lv->le_count - extents))
if (!lv_reduce(fid, lv, lv->le_count - extents))
return ECMD_FAILED;
}
@ -307,8 +307,8 @@ int lvresize(int argc, char **argv)
log_print("Extending logical volume %s to %s", lv_name, dummy);
dbg_free(dummy);
if (!lv_extend(lv, stripes, stripesize, extents - lv->le_count,
pvh))
if (!lv_extend(fid, lv, stripes, stripesize,
extents - lv->le_count, pvh))
return ECMD_FAILED;
}