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

rst: Compact file-descs collects a bit

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2013-08-21 01:06:58 +04:00
parent e03ab6b409
commit 9917c4fe34
15 changed files with 19 additions and 44 deletions

4
tty.c
View File

@@ -972,9 +972,7 @@ static int collect_one_tty(void *obj, ProtobufCMessage *msg)
pr_info("Collected tty ID %#x\n", info->tfe->id);
list_add(&info->list, &all_ttys);
file_desc_add(&info->d, info->tfe->id, &tty_desc_ops);
return 0;
return file_desc_add(&info->d, info->tfe->id, &tty_desc_ops);
}
int collect_tty(void)