mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +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);
|
||||
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 1;
|
||||
|
Loading…
Reference in New Issue
Block a user