2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-02 07:15:31 +00:00

files: Rename prepare_fs into restore_fs

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2014-07-03 19:07:29 +04:00
parent 471d73e343
commit b8d01d1b7a
3 changed files with 3 additions and 3 deletions

View File

@@ -2679,7 +2679,7 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
* attempts to open files by paths above (e.g. /proc).
*/
if (prepare_fs(pid))
if (restore_fs(pid))
goto err;
close_image_dir();

View File

@@ -1018,7 +1018,7 @@ static int fchroot(int fd)
return chroot(fd_path);
}
int prepare_fs(int pid)
int restore_fs(int pid)
{
int ifd, dd_root, dd_cwd, ret, err = -1;
FsEntry *fe;

View File

@@ -148,7 +148,7 @@ extern int prepare_fd_pid(struct pstree_item *me);
extern int prepare_ctl_tty(int pid, struct rst_info *rst_info, u32 ctl_tty_id);
extern int prepare_shared_fdinfo(void);
extern int get_filemap_fd(struct vma_area *);
extern int prepare_fs(int pid);
extern int restore_fs(int pid);
extern int set_fd_flags(int fd, int flags);
extern int close_old_fds(struct pstree_item *me);