Skip to contentSkip to conversation

dev-mornfall-activate - lvmcache: keep sp_count unsigned

PATCH Petr Rockai 1 participant 1 message Jun 4, 2013

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4cce09dbdbf1fdb8e6ca985144fdeb181c3a480b
Commit:        4cce09dbdbf1fdb8e6ca985144fdeb181c3a480b
Parent:        719e908bc010455fc14589d941b949c5f3c92806
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Apr 11 13:46:47 2013 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Apr 12 11:26:31 2013 +0200

lvmcache: keep sp_count unsigned

---
 lib/format_pool/disk_rep.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/format_pool/disk_rep.c +1 -1
index c4afefe..899a48d 100644
@@ -242,7 +242,7 @@ struct _read_pool_pv_baton {
 	struct dm_list *head;
 	const char *vgname;
 	uint32_t *sp_devs;
-	int sp_count;
+	uint32_t sp_count;
 	int failed;
 	int empty;
 };