summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2009-09-15 01:38:59 +0000
committerDave Wysochanski <dwysocha@redhat.com>2009-09-15 01:38:59 +0000
commit266214db845d24f010d9c40e4cf5c4ac606d9d21 (patch)
treee9abdd9ba4f848ab72fabd9984c4f46f80886546 /scripts
parent90c8088760d5fd46ad9f5edb58482a491be53f26 (diff)
downloadlvm2-266214db845d24f010d9c40e4cf5c4ac606d9d21.tar.gz
lvm2-266214db845d24f010d9c40e4cf5c4ac606d9d21.tar.xz
lvm2-266214db845d24f010d9c40e4cf5c4ac606d9d21.zip
Fix process_each_vg / _process_one_vg when vg_read() returns FAILED_LOCKING.
Remove the checks for vg_read_error() in most of the tools callback functions and instead make the check in _process_one_vg() more general. In all but vgcfgbackup, we do not want to proceed if we get any error from vg_read(). In vgcfgbackup's case, we may proceed if the backup is to proceed with inconsistent VGs. This is a special case though, and we mark it with the READ_ALLOW_INCONSISTENT flag passed to process_each_vg (and subsequently to _process_one_vg). NOTE: More cleanup is needed in the vg_read_error() path cases. This patch is a start.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions