mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
files: Simplify fd-s restore
Don't re-read fdinfo image 4 times on restore, just use those collected on me pstree_entry instance. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -59,7 +59,8 @@ extern int restore_fown(int fd, fown_t *fown);
|
||||
|
||||
void show_saved_files(void);
|
||||
extern int collect_reg_files(void);
|
||||
extern int prepare_fds(int pid);
|
||||
struct pstree_item;
|
||||
extern int prepare_fds(struct pstree_item *);
|
||||
struct rst_info;
|
||||
extern int prepare_fd_pid(int pid, struct rst_info *);
|
||||
extern int prepare_shared_fdinfo(void);
|
||||
|
Reference in New Issue
Block a user