1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-08-02 04:22:02 +03:00

device_id: improve validate debug messages

Make the device_ids_validate messages consistent.

Consistently use "noupdate" and "update_needed" args.
This commit is contained in:
David Teigland
2023-10-27 17:13:25 -05:00
parent ec47f0763d
commit a5628cf782
5 changed files with 46 additions and 42 deletions

View File

@ -1457,7 +1457,7 @@ int label_scan(struct cmd_context *cmd)
* Check if the devices_file content is up to date and
* if not update it.
*/
device_ids_validate(cmd, &scan_devs, 0, using_hints);
device_ids_validate(cmd, &scan_devs, using_hints, 0, NULL);
dm_list_iterate_items_safe(devl, devl2, &all_devs) {
dm_list_del(&devl->list);