2
0
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:
Pavel Emelyanov
2012-01-12 15:14:36 +04:00
committed by Cyrill Gorcunov
parent f316a79e66
commit ee13367486
2 changed files with 3 additions and 8 deletions

View File

@@ -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 */
};