mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
segtype: check for activation2
Previous patch 8857b227645e97b7cb52ae8d007e87e07db58b4e 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;
|
uint32_t maj, min, patchlevel;
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
|
if (!activation())
|
||||||
|
return 0;
|
||||||
|
|
||||||
if (!_raid_checked) {
|
if (!_raid_checked) {
|
||||||
_raid_checked = 1;
|
_raid_checked = 1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user