mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
crtools: Merge fdset allocation into prep
They always go in pairs so there's no need in two calls. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
committed by
Cyrill Gorcunov
parent
15209d3fe9
commit
871b73674d
@@ -85,11 +85,8 @@ int cr_restore_tasks(pid_t pid, struct cr_options *opts);
|
||||
int cr_show(unsigned long pid, struct cr_options *opts);
|
||||
int convert_to_elf(char *elf_path, int fd_core);
|
||||
|
||||
struct cr_fdset *alloc_cr_fdset(void);
|
||||
int prep_cr_fdset_for_dump(struct cr_fdset *cr_fdset, int pid,
|
||||
unsigned long use_mask);
|
||||
int prep_cr_fdset_for_restore(struct cr_fdset *cr_fdset, int pid,
|
||||
unsigned long use_mask);
|
||||
struct cr_fdset *prep_cr_fdset_for_dump(int pid, unsigned long use_mask);
|
||||
struct cr_fdset *prep_cr_fdset_for_restore(int pid, unsigned long use_mask);
|
||||
void close_cr_fdset(struct cr_fdset *cr_fdset);
|
||||
void free_cr_fdset(struct cr_fdset **cr_fdset);
|
||||
|
||||
|
Reference in New Issue
Block a user