Skip to content
Commit 22d61b88 authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

files: Don't perform fd rst stages, if they will be no-op



The recv-fd stage is only required if we created any transport fd.
The post-open one is only required if there's at least one fdtype
with post-open callback in ops.

Both things can be evaluated in advance and unneeded stages can
be skipped.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent fcb6ee66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment