From: zkabelac@sourceware.org <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/lib/cache lvmetad.c
Date: 23 Feb 2012 19:03:48 -0000 [thread overview]
Message-ID: <20120223190348.13838.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-02-23 19:03:48
Modified files:
lib/cache : lvmetad.c
Log message:
Fix regression from cleanup commit
baton is being modified, so needs to be cleared before each use.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/cache/lvmetad.c.diff?cvsroot=lvm2&r1=1.2&r2=1.3
--- LVM2/lib/cache/lvmetad.c 2012/02/23 17:59:32 1.2
+++ LVM2/lib/cache/lvmetad.c 2012/02/23 19:03:48 1.3
@@ -229,7 +229,7 @@
char mda_id[128], *num;
struct pv_list *pvl;
struct lvmcache_info *info;
- struct _fixup_baton baton = { .i = 0 };
+ struct _fixup_baton baton;
if (!vg)
return 0;
@@ -264,6 +264,7 @@
*num = 0;
++num;
if ((info = lvmcache_info_from_pvid(mda_id, 0))) {
+ memset(&baton, 0, sizeof(baton));
baton.find = atoi(num);
baton.ignore = mda_is_ignored(mda);
lvmcache_foreach_mda(info, _fixup_ignored, &baton);
next reply other threads:[~2012-02-23 19:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-23 19:03 zkabelac [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-02-26 8:49 LVM2/lib/cache lvmetad.c mornfall
2012-02-26 13:42 mornfall
2012-02-27 11:32 zkabelac
2012-02-28 11:09 zkabelac
2012-02-28 18:23 agk
2012-03-01 20:04 mornfall
2012-03-02 21:24 agk
2012-03-02 22:44 agk
2012-03-14 17:15 zkabelac
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=20120223190348.13838.qmail@sourceware.org \
--to=zkabelac@sourceware.org \
--cc=lvm-devel@redhat.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.