All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Zero pvmove mirror count during initialization of device manager
@ 2009-05-04 20:13 Milan Broz
  0 siblings, 0 replies; only message in thread
From: Milan Broz @ 2009-05-04 20:13 UTC (permalink / raw)
  To: lvm-devel

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;
 




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-04 20:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-04 20:13 [PATCH] Zero pvmove mirror count during initialization of device manager Milan Broz

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.