2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00

sk-unix: Print the name of sockets being dropped

Useful for bug hunting.

 | (00.005209) unix: Dropping path /mnt/disk1/new_subvol/criu/test/zdtm/live/static/sockets00.test
 | for unlinked bound sk 0x26.0x1d4e real 0x23.0x1d4e

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov
2013-11-28 15:36:33 +04:00
committed by Pavel Emelyanov
parent f2bb77c017
commit 75ebb6d02c

View File

@@ -356,9 +356,10 @@ static int unix_collect_one(const struct unix_diag_msg *m,
if ((st.st_ino != uv->udiag_vfs_ino) ||
(st.st_dev != kdev_to_odev(uv->udiag_vfs_dev))) {
pr_info("unix: Dropping path for "
pr_info("unix: Dropping path %s for "
"unlinked bound "
"sk %#x.%#x real %#x.%#x\n",
name,
(int)st.st_dev,
(int)st.st_ino,
(int)uv->udiag_vfs_dev,