]> sourceware.org Git - lvm2.git/commitdiff
cleanup: use same type
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 29 Oct 2015 11:01:31 +0000 (12:01 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 29 Oct 2015 11:14:20 +0000 (12:14 +0100)
lib/metadata/thin_manip.c

index 6b22ce5db630920a14997857a2b0eaee91342537..2d3146f7cadee3d2c04a7d88fe3c1b1ba3aa6821 100644 (file)
@@ -216,7 +216,7 @@ int thin_pool_feature_supported(const struct logical_volume *lv, int feature)
 int pool_below_threshold(const struct lv_segment *pool_seg)
 {
        dm_percent_t percent;
-       int threshold = DM_PERCENT_1 *
+       dm_percent_t threshold = DM_PERCENT_1 *
                find_config_tree_int(pool_seg->lv->vg->cmd, activation_thin_pool_autoextend_threshold_CFG,
                                     lv_config_profile(pool_seg->lv));
 
This page took 0.033281 seconds and 5 git commands to generate.