2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

files: place the state POST_CREATE after the state RECV

It will be used for restoring epollfd.
Currently a transport fd may be added to epollfd.
epollfd should be populated, when all descriptors were already received.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin
2012-09-12 17:50:22 +04:00
committed by Pavel Emelyanov
parent ca567e76c3
commit 403dcb9de5
2 changed files with 4 additions and 4 deletions

View File

@@ -450,12 +450,12 @@ static int open_fdinfo(int pid, struct fdinfo_list_entry *fle, int state)
case FD_STATE_CREATE:
ret = open_fd(pid, fle->fe, fle->desc);
break;
case FD_STATE_POST_CREATE:
ret = post_open_fd(pid, fle->fe, fle->desc);
break;
case FD_STATE_RECV:
ret = receive_fd(pid, fle->fe, fle->desc);
break;
case FD_STATE_POST_CREATE:
ret = post_open_fd(pid, fle->fe, fle->desc);
break;
}
return ret;