Permalink
Browse files

fix parameter mixup in get_avaiable_space()

  • Loading branch information...
tomato42 committed Aug 2, 2012
1 parent c21c62b commit 8e6e1ceddf974a16081545929407f3847d3508d9
Showing with 1 addition and 1 deletion.
  1. +1 −1 extents.c
View
@@ -154,8 +154,8 @@ get_avaiable_space(struct program_params *pp, const char *lv_name, int tier)
return avaiable_space;
long int used_space = get_used_space_on_pv(
- get_volume_lv(pp, lv_name),
get_volume_vg(pp, lv_name),
+ get_volume_lv(pp, lv_name),
pv_name);
used_space *= get_pe_size(get_volume_vg(pp, lv_name));

0 comments on commit 8e6e1ce

Please sign in to comment.