mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
and another typo
This commit is contained in:
parent
120943341c
commit
a78374ae0d
@ -109,7 +109,7 @@ static int lvchange_refresh(struct cmd_context *cmd, struct logical_volume *lv)
|
|||||||
{
|
{
|
||||||
log_verbose("Refreshing logical volume \"%s\" (if active)", lv->name);
|
log_verbose("Refreshing logical volume \"%s\" (if active)", lv->name);
|
||||||
if (!lock_vol(cmd, lv->lvid.s, LCK_LV_SUSPEND | LCK_HOLD) ||
|
if (!lock_vol(cmd, lv->lvid.s, LCK_LV_SUSPEND | LCK_HOLD) ||
|
||||||
!unlock_vol(cmd, lv->lvid.s))
|
!unlock_lv(cmd, lv->lvid.s))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user