mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
vma: Remove FDINFO_MAP fd type
The regfile's ID of a VMA is stored in its shmid field. And the file itself if sumped into regfiles.img image with 'special'-ly generated ID (i.e. -- just allocate a new unique one). Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -35,7 +35,6 @@ enum fd_types {
|
||||
FDINFO_UND,
|
||||
FDINFO_REG,
|
||||
FDINFO_PIPE,
|
||||
FDINFO_MAP,
|
||||
FDINFO_INETSK,
|
||||
FDINFO_UNIXSK,
|
||||
FDINFO_CWD,
|
||||
@@ -62,8 +61,7 @@ struct fdinfo_entry {
|
||||
u32 id;
|
||||
} __packed;
|
||||
|
||||
#define fd_is_special(fe) \
|
||||
(((fe)->type == FDINFO_MAP) || \
|
||||
#define fd_is_special(fe) ( \
|
||||
((fe)->type == FDINFO_CWD) || \
|
||||
((fe)->type == FDINFO_EXE))
|
||||
|
||||
|
Reference in New Issue
Block a user