public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/lib mirror/mirrored.c striped/striped.c
@ 2010-01-07 14:46 zkabelac
0 siblings, 0 replies; only message in thread
From: zkabelac @ 2010-01-07 14:46 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac@sourceware.org 2010-01-07 14:46:52
Modified files:
lib/mirror : mirrored.c
lib/striped : striped.c
Log message:
Use macro outsize() with check for error return value.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/mirror/mirrored.c.diff?cvsroot=lvm2&r1=1.65&r2=1.66
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/striped/striped.c.diff?cvsroot=lvm2&r1=1.30&r2=1.31
--- LVM2/lib/mirror/mirrored.c 2009/11/18 16:48:10 1.65
+++ LVM2/lib/mirror/mirrored.c 2010/01/07 14:46:51 1.66
@@ -149,8 +149,8 @@
{
outf(f, "mirror_count = %u", seg->area_count);
if (seg->status & PVMOVE)
- out_size(f, (uint64_t) seg->extents_copied * seg->lv->vg->extent_size,
- "extents_moved = %" PRIu32, seg->extents_copied);
+ outsize(f, (uint64_t) seg->extents_copied * seg->lv->vg->extent_size,
+ "extents_moved = %" PRIu32, seg->extents_copied);
if (seg->log_lv)
outf(f, "mirror_log = \"%s\"", seg->log_lv->name);
if (seg->region_size)
--- LVM2/lib/striped/striped.c 2009/12/16 19:22:12 1.30
+++ LVM2/lib/striped/striped.c 2010/01/07 14:46:52 1.31
@@ -98,8 +98,8 @@
(seg->area_count == 1) ? "\t# linear" : "");
if (seg->area_count > 1)
- out_size(f, (uint64_t) seg->stripe_size,
- "stripe_size = %u", seg->stripe_size);
+ outsize(f, (uint64_t) seg->stripe_size,
+ "stripe_size = %u", seg->stripe_size);
return out_areas(f, seg, "stripe");
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-07 14:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-07 14:46 LVM2/lib mirror/mirrored.c striped/striped.c zkabelac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).