static dm_percent_t _copy_percent(const struct logical_volume *lv) { dm_percent_t percent; if (!lv_mirror_percent(lv->vg->cmd, lv, 0, &percent, NULL)) percent = DM_PERCENT_INVALID; return percent; }
static percent_t _copy_percent(const struct logical_volume *lv) { percent_t perc; if (!lv_mirror_percent(lv->vg->cmd, lv, 0, &perc, NULL)) perc = PERCENT_INVALID; return perc; }