Commit 0fcaeea9 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by Andrei Vagin

files: Do not close transport socket twice

We close it in sigreturn_restore() for unification with other
service fds, so kill the second close() from here.
Signed-off-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent cc5dbf51
......@@ -1304,7 +1304,6 @@ int prepare_fds(struct pstree_item *me)
ret = open_fdinfos(me);
close_service_fd(TRANSPORT_FD_OFF);
if (rsti(me)->fdt)
futex_inc_and_wake(&rsti(me)->fdt->fdt_lock);
out:
......
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