Skip to contentSkip to conversation

master - raid_manip: Fix stripe_size type to uint32_t.

PATCH Alasdair Kergon 1 participant 1 message Jul 24, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ea543b5c6f2f7fd9e7c54d8e33abc32049aafc6d
Commit:        ea543b5c6f2f7fd9e7c54d8e33abc32049aafc6d
Parent:        4a544ae272c172d0ba63096c488688a69f997e98
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Sun Jul 24 01:35:04 2016 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Sun Jul 24 01:35:04 2016 +0100

raid_manip: Fix stripe_size type to uint32_t.

---
 lib/metadata/raid_manip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/metadata/raid_manip.c +1 -1
index 2470532..ee05ae7 100644
@@ -2171,7 +2171,7 @@ static struct lv_segment *_convert_striped_to_raid0(struct logical_volume *lv,
 	int force,				\
 	unsigned new_image_count,		\
 	const unsigned new_stripes,		\
-	unsigned new_stripe_size,		\
+	uint32_t new_stripe_size,		\
 	struct dm_list *allocate_pvs
 
 typedef int (*takeover_fn_t)(TAKEOVER_FN_ARGS);