]> sourceware.org Git - lvm2.git/commitdiff
fix last patch return code
authorAlasdair Kergon <agk@redhat.com>
Fri, 19 Sep 2008 00:20:39 +0000 (00:20 +0000)
committerAlasdair Kergon <agk@redhat.com>
Fri, 19 Sep 2008 00:20:39 +0000 (00:20 +0000)
lib/metadata/mirror.c

index 0e4afe7666cb465edfbabf71dfe8f82f2cab57f9..8267cbb37bae860cd180350aa17d6f4cce615505 100644 (file)
@@ -179,7 +179,7 @@ int shift_mirror_images(struct lv_segment *mirrored_seg, unsigned mimage)
        /* Place this one at the end */
        mirrored_seg->areas[i-1] = area;
 
-       return 0;
+       return 1;
 }
 
 /*
This page took 0.035438 seconds and 5 git commands to generate.