1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +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;
out_lv:
lock_vol(cmd, lp.vg_name, LCK_LV_UNLOCK);
lock_vol(cmd, lvidbuf, LCK_LV_UNLOCK);
out:
lock_vol(cmd, lp.vg_name, LCK_VG_UNLOCK);
return r;