summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-03-30 14:59:35 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2012-03-30 14:59:35 +0000
commit6e826bb6a4337f4b94749d1a40cdc00b1c477b68 (patch)
tree8ec357df9e5ec20b37a280fa54524aa9fa3a5eca /lib
parentebd9225245d02c8f31bfbc6ede62f419cb4ac3b8 (diff)
downloadlvm2-6e826bb6a4337f4b94749d1a40cdc00b1c477b68.tar.gz
lvm2-6e826bb6a4337f4b94749d1a40cdc00b1c477b68.tar.xz
lvm2-6e826bb6a4337f4b94749d1a40cdc00b1c477b68.zip
Fix unlocking in error path of vgreduce
When vg_read fails, it internally unlocks VG if it's been locked, so in error path we should skip unlock_vg for this case. (user would see ugly internal warning)
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions