mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Attempt to load dm-zero module if zero target needed but not present. (mbroz)
This commit is contained in:
parent
49c27642d4
commit
4884e0e217
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.48 -
|
Version 2.02.48 -
|
||||||
===============================
|
===============================
|
||||||
|
Attempt to load dm-zero module if zero target needed but not present.
|
||||||
|
|
||||||
Version 2.02.47 - 22nd May 2009
|
Version 2.02.47 - 22nd May 2009
|
||||||
===============================
|
===============================
|
||||||
|
@ -58,7 +58,7 @@ static int _zero_target_present(struct cmd_context *cmd,
|
|||||||
static int _zero_present = 0;
|
static int _zero_present = 0;
|
||||||
|
|
||||||
if (!_zero_checked)
|
if (!_zero_checked)
|
||||||
_zero_present = target_present(cmd, "zero", 0);
|
_zero_present = target_present(cmd, "zero", 1);
|
||||||
|
|
||||||
_zero_checked = 1;
|
_zero_checked = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user