summaryrefslogtreecommitdiff
path: root/lib/striped
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2005-06-14 17:54:48 +0000
committerAlasdair Kergon <agk@redhat.com>2005-06-14 17:54:48 +0000
commit5e947dac4826bfe054b1ed0bd3e49dd762f2290d (patch)
tree7029f8b50e31d734dcf0dc451fa1ec65bee83286 /lib/striped
parent470b46cee13fe77a6c8ff8658e93847985599874 (diff)
downloadlvm2-5e947dac4826bfe054b1ed0bd3e49dd762f2290d.tar.gz
Various allocation-related pvmove fixes.
Diffstat (limited to 'lib/striped')
-rw-r--r--lib/striped/striped.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/striped/striped.c b/lib/striped/striped.c
index c0042a801..4adb6b3a8 100644
--- a/lib/striped/striped.c
+++ b/lib/striped/striped.c
@@ -115,7 +115,8 @@ static int _segments_compatible(struct lv_segment *first,
/* FIXME Relax this to first area type != second area type */
/* plus the additional AREA_LV checks needed */
if ((first->area[s].type != AREA_PV) ||
- (second->area[s].type != AREA_PV)) return 0;
+ (second->area[s].type != AREA_PV))
+ return 0;
width = first->area_len;