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

files: Don't lookup fdesc twice



In the open_fdinfo we need to get a file_desc associated with the given
fdinfo_list_entry. This is done by searching the hash of descs, but this
can be speeded up by saving the desc pointer on the fdinfo at the time
of collecting them.

Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 338bc134
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