1
0
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:
Alasdair Kergon 2004-03-26 21:49:57 +00:00
parent 120943341c
commit a78374ae0d

View File

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