2
0
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:
Pavel Emelyanov
2012-09-13 00:34:37 +04:00
parent 1ea03bf80c
commit 845f3ee973
2 changed files with 13 additions and 36 deletions

View File

@@ -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 {