public inbox for lvm2-cvs@sourceware.org help / color / mirror / Atom feed
From: zkabelac@sourceware.org To: lvm-devel@redhat.com, lvm2-cvs@sourceware.org Subject: LVM2/lib mirror/mirrored.c striped/striped.c Date: Thu, 07 Jan 2010 14:46:00 -0000 [thread overview] Message-ID: <20100107144652.29933.qmail@sourceware.org> (raw) 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"); }
reply other threads:[~2010-01-07 14:46 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20100107144652.29933.qmail@sourceware.org \ --to=zkabelac@sourceware.org \ --cc=lvm-devel@redhat.com \ --cc=lvm2-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).