1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Fix unlock parameter.

This commit is contained in:
Alasdair Kergon 2002-02-27 14:48:42 +00:00
parent f4cbeaf0ac
commit 50270f1fdf

View File

@ -477,7 +477,7 @@ int lvcreate(struct cmd_context *cmd, int argc, char **argv)
r = 0; r = 0;
out_lv: out_lv:
lock_vol(cmd, lp.vg_name, LCK_LV_UNLOCK); lock_vol(cmd, lvidbuf, LCK_LV_UNLOCK);
out: out:
lock_vol(cmd, lp.vg_name, LCK_VG_UNLOCK); lock_vol(cmd, lp.vg_name, LCK_VG_UNLOCK);
return r; return r;