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:
parent
144169b9b7
commit
db606591c0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user