mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
typo
This commit is contained in:
parent
8e1e14ee8a
commit
120943341c
@ -108,7 +108,7 @@ static int lvchange_availability(struct cmd_context *cmd,
|
||||
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_LV_HOLD) ||
|
||||
if (!lock_vol(cmd, lv->lvid.s, LCK_LV_SUSPEND | LCK_HOLD) ||
|
||||
!unlock_vol(cmd, lv->lvid.s))
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user