1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

segtype: check for activation2

Previous patch 8857b22764 missed
to check for activation for raid target.
This commit is contained in:
Zdenek Kabelac 2016-05-06 13:57:36 +02:00
parent 144169b9b7
commit db606591c0

View File

@ -319,6 +319,9 @@ static int _raid_target_present(struct cmd_context *cmd,
uint32_t maj, min, patchlevel;
unsigned i;
if (!activation())
return 0;
if (!_raid_checked) {
_raid_checked = 1;