2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

files: Make fd_id_generate_special return ID into pointer

Acked-by: Andrew Vagin <avagin@parallels.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2014-02-04 19:25:33 +04:00
parent 9857acc0a2
commit 8a827ba403
5 changed files with 27 additions and 21 deletions

View File

@@ -581,7 +581,7 @@ int fix_external_unix_sockets(void)
BUG_ON(sk->sd.already_dumped);
e.id = fd_id_generate_special(NULL);
fd_id_generate_special(NULL, &e.id);
e.ino = sk->sd.ino;
e.type = SOCK_DGRAM;
e.state = TCP_LISTEN;