mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix pvchange -x segfault with lvm2-format orphan.
This commit is contained in:
parent
9ec484617a
commit
8c9a1d6a3d
@ -1,5 +1,6 @@
|
||||
Version 2.00.32 -
|
||||
====================================
|
||||
Fix pvchange -x segfault with lvm2-format orphan.
|
||||
Cope with empty msdos partition tables.
|
||||
|
||||
Version 2.00.31 - 12th December 2004
|
||||
|
@ -32,6 +32,8 @@ static int _pvchange_single(struct cmd_context *cmd, struct physical_volume *pv,
|
||||
int allocatable = 0;
|
||||
int tagarg = 0;
|
||||
|
||||
list_init(&mdas);
|
||||
|
||||
if (arg_count(cmd, addtag_ARG))
|
||||
tagarg = addtag_ARG;
|
||||
else if (arg_count(cmd, deltag_ARG))
|
||||
|
Loading…
Reference in New Issue
Block a user