summaryrefslogtreecommitdiffstats
path: root/tools/lvchange.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2004-03-26 21:47:43 +0000
committerAlasdair Kergon <agk@redhat.com>2004-03-26 21:47:43 +0000
commit120943341ce1e1ae9531a3c1b76b4747f16570a7 (patch)
tree89669c2bbf67418bff8032a27d431fb1c3c936a3 /tools/lvchange.c
parent8e1e14ee8a77f7231ffed1cdf0e5beb4b9cdabb5 (diff)
downloadlvm2-120943341ce1e1ae9531a3c1b76b4747f16570a7.tar.gz
lvm2-120943341ce1e1ae9531a3c1b76b4747f16570a7.tar.xz
lvm2-120943341ce1e1ae9531a3c1b76b4747f16570a7.zip
typo
Diffstat (limited to 'tools/lvchange.c')
-rw-r--r--tools/lvchange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvchange.c b/tools/lvchange.c
index 3ee88e76..4931014e 100644
--- a/tools/lvchange.c
+++ b/tools/lvchange.c
@@ -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;