Commit 64e27913 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Andrei Vagin

core: Init fdstore even earlier

Next patch will move SELF_STDIN_OFF sfd to fdstore.
This patch moves fdstore_init() before tty_prep_fds().

v4: New
Signed-off-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 7b87f163
......@@ -2282,6 +2282,9 @@ int cr_restore_tasks(void)
if (prepare_pstree() < 0)
goto err;
if (fdstore_init())
goto err;
if (crtools_prepare_shared() < 0)
goto err;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment