summaryrefslogtreecommitdiffstats
path: root/daemons/dmeventd/dmeventd.c
diff options
context:
space:
mode:
authorJonathan Earl Brassow <jbrassow@redhat.com>2011-09-14 04:10:26 +0000
committerJonathan Earl Brassow <jbrassow@redhat.com>2011-09-14 04:10:26 +0000
commit462579d54e34850e12540051c97599cf9eac6972 (patch)
tree06a8c1ec8ef2a0d861e9bca21788110298070237 /daemons/dmeventd/dmeventd.c
parent9cb27929e95e6c89e0b1d1350d57ff6f0440f3de (diff)
downloadlvm2-462579d54e34850e12540051c97599cf9eac6972.tar.gz
lvm2-462579d54e34850e12540051c97599cf9eac6972.tar.xz
lvm2-462579d54e34850e12540051c97599cf9eac6972.zip
Additional fixes for lv_mirror_count.
Changing lv_mirror_count to only count the AREA_LVs made the function stop working for PVMOVE mirrors. A conditional has been added to fix that problem. Additionally, when counting the images in a mirror stack, we don't need to subtract 1 from the count we get back from the lv_mirror_count call on the temporary mirror layer. (This is because we are no falsely counting the top layer of the temporary mirror.)
Diffstat (limited to 'daemons/dmeventd/dmeventd.c')
0 files changed, 0 insertions, 0 deletions