mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-05 00:35:23 +00:00
collect: Shorten common images collecting code
Now we have a set of cinfo-s, it's possible to collect all this stuff in a plan for-loop. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -25,7 +25,7 @@ extern struct ns_desc user_ns_desc;
|
||||
extern unsigned long current_ns_mask;
|
||||
|
||||
extern const struct fdtype_ops nsfile_dump_ops;
|
||||
extern int collect_ns_files(void);
|
||||
extern struct collect_image_info nsfile_cinfo;
|
||||
|
||||
int dump_namespaces(struct pid *pid, unsigned int ns_flags);
|
||||
int prepare_namespace(int pid, unsigned long clone_flags);
|
||||
|
Reference in New Issue
Block a user