mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
files: pass a file descriptor on an fdinfo image instead of cr_fdset
Currently fdinfo dumps for each task, so CR_FD_FDINFO is in cr_fdset. A few tasks can share one fd table and the set of descriptors will be dumped once and a image name will contain files_id instead of pid. In this case CR_FD_FDINFO will go away from cr_fdset. Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
dcf158e21d
commit
0fc129a121
@@ -74,7 +74,7 @@ struct fdtype_ops {
|
||||
|
||||
extern int do_dump_gen_file(struct fd_parms *p, int lfd,
|
||||
const struct fdtype_ops *ops,
|
||||
const struct cr_fdset *cr_fdset);
|
||||
const int fdinfo);
|
||||
|
||||
extern void file_desc_add(struct file_desc *d, u32 id, struct file_desc_ops *ops);
|
||||
extern struct fdinfo_list_entry *file_master(struct file_desc *d);
|
||||
|
Reference in New Issue
Block a user