Skip to contentSkip to conversation

master - raid: use _generate_raid_name

PATCH Zdenek Kabelac 1 participant 1 message Sep 12, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c10c16cc3531cf613152675b732a50b1339e62c9
Commit:        c10c16cc3531cf613152675b732a50b1339e62c9
Parent:        2db0312455260cda6f45ee8d3814a00f3f297af0
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Sep 12 11:39:48 2014 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Sep 12 13:51:29 2014 +0200

raid: use _generate_raid_name

Use new function to get implicit name validation
(so we do not exit with internal error on metadata validation).

---
 WHATS_NEW                 |    1 +
 lib/metadata/raid_manip.c |   56 ++++++++-------------------------------------
 2 files changed, 11 insertions(+), 46 deletions(-)
WHATS_NEW +1 -0
index a84ef4b..ebbc76f 100644
@@ -1,5 +1,6 @@
 Version 2.02.112 - 
 =====================================
+  Properly validate raid leg names.
   Archive metadata before starting their modification in raid target.
   Add missing vg_revert in suspend_lv() error path in raid target.
   Add missing backup of lvm2 metadata after some raid modifications.
lib/metadata/raid_manip.c +10 -46

107 lines not on this page · raw message