mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
irmap: scan user-provided paths in order
Make the scan use the order of paths that came from the user.
Fixes: 4f2e4ab3be ("irmap: add --irmap-scan-path option"; 2015-09-16)
Signed-off-by: Michał Mirosław <emmir@google.com>
This commit is contained in:
parent
2a131167bb
commit
69200bec76
1 changed files with 1 additions and 1 deletions
|
|
@ -501,6 +501,6 @@ int irmap_scan_path_add(char *path)
|
|||
|
||||
o->ir->path = path;
|
||||
o->ir->nr_kids = -1;
|
||||
list_add(&o->node, &opts.irmap_scan_paths);
|
||||
list_add_tail(&o->node, &opts.irmap_scan_paths);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue