mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
scan: leave the caller's dev list unchanged
When scanning the list of devs from the caller they are moved to another temporary list, but were never returned to the original list.
This commit is contained in:
parent
7bce66c5e8
commit
f328532f05
@ -567,6 +567,8 @@ static int _scan_list(struct dm_list *devs, int *failed)
|
||||
if (failed)
|
||||
*failed = scan_failed_count;
|
||||
|
||||
dm_list_splice(devs, &done_devs);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user