mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 22:05:36 +00:00
fd: Remove per-filetype make_gen_id abstraction
It doesn't makemuch sense in pulling this further. The generic genid generation seems to be enough for eny file type. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -66,11 +66,9 @@ struct file_desc {
|
||||
|
||||
struct fdtype_ops {
|
||||
unsigned int type;
|
||||
u32 (*make_gen_id)(const struct fd_parms *p);
|
||||
int (*dump)(int lfd, u32 id, const struct fd_parms *p);
|
||||
};
|
||||
|
||||
extern u32 make_gen_id(const struct fd_parms *p);
|
||||
extern int do_dump_gen_file(struct fd_parms *p, int lfd,
|
||||
const struct fdtype_ops *ops,
|
||||
const struct cr_fdset *cr_fdset);
|
||||
|
Reference in New Issue
Block a user