1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00
Dave Wysochanski a3678fa186 Add ommitted unlock_vg() call when sigint_caught() during vg processing.
Specific test case:
1. pvcreate /dev/loop1; vgcreate vg1 /dev/loop1; lvcreate -L 64M -n lv1 vg1
2. vgremove vg1 (will prompt user)
3. CTRL-C
Code will exit with:
Do you really want to remove volume group "vg2" containing 2 logical volumes? [y/n]:
  Volume group "vg2" not removed
  Command failed with status code 5.
  Internal error: Volume Group vg2 was not unlocked
  Device '/dev/loop1' has been left open.

After change:
Do you really want to remove volume group "vg2" containing 2 logical volumes? [y/n]:
  Volume group "vg2" not removed
  Command failed with status code 5.
2008-06-10 15:25:38 +00:00
..
2004-03-26 14:51:23 +00:00
2008-06-06 19:28:35 +00:00
2008-06-06 19:28:35 +00:00
2008-06-06 18:53:08 +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
2008-01-30 14:00:02 +00:00
2008-06-06 19:28:35 +00:00
2008-01-30 14:00:02 +00:00
2008-01-30 14:00:02 +00:00
2008-06-06 19:28:35 +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
2008-01-30 14:00:02 +00:00
2008-05-19 20:06:34 +00:00
2008-01-30 14:00:02 +00:00
2008-02-06 15:47:28 +00:00
2008-01-30 14:00:02 +00:00
2008-01-30 14:00:02 +00:00
2008-06-06 19:28:35 +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
2008-01-30 14:00:02 +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
2008-01-30 14:00:02 +00:00
2008-01-30 14:00:02 +00:00
2008-01-30 14:00:02 +00:00