mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
files: Compact the code by removing per-file dump helpers
Since *all* of them just call do_dump_gen_file with proper ops, just call one directly. Compacts the code. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -24,7 +24,7 @@ extern struct ns_desc pid_ns_desc;
|
||||
extern struct ns_desc user_ns_desc;
|
||||
extern unsigned long current_ns_mask;
|
||||
|
||||
extern int dump_ns_file(struct fd_parms *p, int lfd, const int fdinfo);
|
||||
extern const struct fdtype_ops nsfile_dump_ops;
|
||||
extern int collect_ns_files(void);
|
||||
|
||||
int dump_namespaces(struct pid *pid, unsigned int ns_flags);
|
||||
|
Reference in New Issue
Block a user