1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-02 13:47:42 +03:00
Milan Broz 0025670dc9 Do not try to unlock VG which is not locked.
If the vg_read() returned error, no lock was taken,
so always call vg_release().

Otherwise this can happen because of missing FAILED_*:

# vgchange -a y x --ignorelockingfailure
  Volume group "x" not found
  Internal error: Attempt to unlock unlocked VG x
2009-11-24 16:13:02 +00:00
..
2004-03-26 14:51:23 +00:00
2008-01-30 14:00:02 +00:00
2009-11-04 12:39:56 +00:00
2008-01-30 14:00:02 +00:00
2009-09-26 00:29:13 +00:00
2009-01-20 20:37:41 +00:00
2008-01-30 14:00:02 +00:00
2008-01-30 14:00:02 +00:00
2008-01-30 14:00:02 +00:00