diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-12 14:17:00 +0100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-02-20 03:21:06 +0100 |
commit | 9a7fe9e8900baad5f6643000ea48b91aee895165 (patch) | |
tree | 2e83b086f8824df9d4ebe4d8bcd502a1c4aba1da /fs/no-block.c | |
parent | NFSv4.1: Ensure that the layout recall callback matches layout stateids (diff) | |
download | linux-9a7fe9e8900baad5f6643000ea48b91aee895165.tar.xz linux-9a7fe9e8900baad5f6643000ea48b91aee895165.zip |
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: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/no-block.c')
0 files changed, 0 insertions, 0 deletions