From: Milan Broz <mbroz@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH] Zero pvmove mirror count during initialization of device manager
Date: Mon, 04 May 2009 22:13:48 +0200 [thread overview]
Message-ID: <49FF4C7C.9080007@redhat.com> (raw)
Zero pvmove mirror count during initialization of device manager.
(Otherwise there is uninitialized value.)
Signed-off-by: Milan Broz <mbroz@redhat.com>
---
lib/activate/dev_manager.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/activate/dev_manager.c b/lib/activate/dev_manager.c
index 1083fcd..8f068d3 100644
--- a/lib/activate/dev_manager.c
+++ b/lib/activate/dev_manager.c
@@ -455,6 +455,7 @@ struct dev_manager *dev_manager_create(struct cmd_context *cmd,
goto_bad;
dm->target_state = NULL;
+ dm->pvmove_mirror_count = 0u;
return dm;
reply other threads:[~2009-05-04 20:13 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=49FF4C7C.9080007@redhat.com \
--to=mbroz@redhat.com \
--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.