mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
dev_manager: fix mknodes
Fix regression introduced with a2c1024f6a
_setup_task(mknodes ? name : NULL...
has been replaced with:
_setup_task(type != MKNODES ? name : NULL....
Use '=='
This commit is contained in:
parent
6ce8e57989
commit
4dc602f79b
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.113 -
|
Version 2.02.113 -
|
||||||
=====================================
|
=====================================
|
||||||
|
Fix regression in vgscan --mknodes usage (2.02.112).
|
||||||
Respect --prefix when setting CLMVD_PATH configure (2.02.89).
|
Respect --prefix when setting CLMVD_PATH configure (2.02.89).
|
||||||
Default to configure --enable-udev-systemd-background-jobs for systemd>=205.
|
Default to configure --enable-udev-systemd-background-jobs for systemd>=205.
|
||||||
Fix ignore_vg() to properly react on various vg_read errors (2.02.112).
|
Fix ignore_vg() to properly react on various vg_read errors (2.02.112).
|
||||||
|
@ -206,7 +206,7 @@ static int _info_run(info_type_t type, const char *name, const char *dlid,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(dmt = _setup_task(type != MKNODES ? name : NULL, dlid, 0, dmtask,
|
if (!(dmt = _setup_task((type == MKNODES) ? name : NULL, dlid, 0, dmtask,
|
||||||
major, minor, with_open_count)))
|
major, minor, with_open_count)))
|
||||||
return_0;
|
return_0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user