mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
stat: Pass namespace into phys_stat_dev_match, not mnt tree
This makes the API simpler. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -440,8 +440,8 @@ static int unix_collect_one(const struct unix_diag_msg *m,
|
||||
name, m->udiag_ino);
|
||||
drop_path = true;
|
||||
} else if ((st.st_ino != uv->udiag_vfs_ino) ||
|
||||
!phys_stat_dev_match(ns->mnt.mntinfo_tree, st.st_dev,
|
||||
uv->udiag_vfs_dev, name)) {
|
||||
!phys_stat_dev_match(st.st_dev,
|
||||
uv->udiag_vfs_dev, ns, name)) {
|
||||
pr_info("unix: Dropping path %s for "
|
||||
"unlinked bound "
|
||||
"sk %#x.%#x real %#x.%#x\n",
|
||||
|
Reference in New Issue
Block a user