Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9a7fe9e8 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4.1: Minor optimisation in get_layout_by_fh_locked()



If the filehandles match, but the igrab() fails, or the layout is
freed before we can get it, then just return NULL.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 27999f25
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment