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:
parent
f4cbeaf0ac
commit
50270f1fdf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user