mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
files-reg: Export do_open_reg_noseek_flags
We will need it for tty restore. Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Acked-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
81c598cc05
commit
a944a78ce9
@@ -976,7 +976,7 @@ int open_path(struct file_desc *d,
|
||||
return tmp;
|
||||
}
|
||||
|
||||
static int do_open_reg_noseek_flags(int ns_root_fd, struct reg_file_info *rfi, void *arg)
|
||||
int do_open_reg_noseek_flags(int ns_root_fd, struct reg_file_info *rfi, void *arg)
|
||||
{
|
||||
u32 flags = *(u32 *)arg;
|
||||
int fd;
|
||||
|
@@ -35,6 +35,7 @@ extern void clear_ghost_files(void);
|
||||
extern int prepare_shared_reg_files(void);
|
||||
|
||||
extern const struct fdtype_ops regfile_dump_ops;
|
||||
extern int do_open_reg_noseek_flags(int ns_root_fd, struct reg_file_info *rfi, void *arg);
|
||||
extern int dump_one_reg_file(int lfd, u32 id, const struct fd_parms *p);
|
||||
|
||||
extern struct file_remap *lookup_ghost_remap(u32 dev, u32 ino);
|
||||
|
Reference in New Issue
Block a user