mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
fd: Indirect fd opening states engine
Put the states into in one place. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -32,15 +32,6 @@ struct fd_parms {
|
||||
.fown = FOWN_ENTRY__INIT, \
|
||||
}
|
||||
|
||||
enum fdinfo_states {
|
||||
FD_STATE_PREP, /* Create unix sockets */
|
||||
FD_STATE_CREATE, /* Create and send fd */
|
||||
FD_STATE_RECV, /* Receive fd */
|
||||
FD_STATE_POST_CREATE, /* Execute actions, when everyone was created */
|
||||
|
||||
FD_STATE_MAX
|
||||
};
|
||||
|
||||
struct file_desc;
|
||||
|
||||
struct fdinfo_list_entry {
|
||||
|
Reference in New Issue
Block a user