dev-lvmguy-raid-takeover-reshape-resize - avoid __ function prefixes
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d8f933989c2fbd9fcedf511867f1d7a1c9e58145 Commit: d8f933989c2fbd9fcedf511867f1d7a1c9e58145 Parent: 86c0cd36df46cba666cc5b191f3d8c0f71f1ef2c Author: Heinz Mauelshagen <[email protected]> AuthorDate: Fri Jan 30 17:33:59 2015 +0100 Committer: Heinz Mauelshagen <[email protected]> CommitterDate: Fri Jan 30 17:33:59 2015 +0100
avoid __ function prefixes
--- lib/metadata/lv_manip.c | 2 + lib/metadata/raid_manip.c | 220 +++++++++++++++++++++++++-------------------- 2 files changed, 126 insertions(+), 96 deletions(-)
lib/metadata/lv_manip.c +2 -0
@@ -1016,12 +1016,14 @@ static uint32_t __round_to_stripe_boundary(struct logical_volume *lv, uint32_t eif (!stripes)return extents; +printf ("%s %d extents=%u stripes=%u\n" , __func__, __LINE__, extents, stripes);/* Round up extents to stripe divisable amount */ if ((rest = extents % stripes)) { extents += up ? stripes - rest : -rest;log_print_unless_silent ("Rounding up size to full stripe size %s" ,display_size (lv->vg->cmd, extents * lv->vg->extent_size)); } +printf ("%s %d extents=%u stripes=%u rest=%u\n" , __func__, __LINE__, extents, stripes, rest);return extents; }
lib/metadata/raid_manip.c +124 -96
795 lines not on this page · raw message