mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 22:35:33 +00:00
crtools: Remove tmpl pointer from fdset
All the places we need one in can use the direct reference on template. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
committed by
Cyrill Gorcunov
parent
f316a79e66
commit
ee13367486
@@ -72,7 +72,6 @@ extern int open_image_ro_nocheck(const char *fmt, int pid);
|
||||
|
||||
/* file descriptors */
|
||||
struct cr_fd_desc {
|
||||
struct cr_fd_desc_tmpl *tmpl; /* template we refer to */
|
||||
char path[PATH_MAX]; /* the path, based on pid */
|
||||
int fd; /* descriptor for open/close */
|
||||
};
|
||||
|
Reference in New Issue
Block a user