summaryrefslogtreecommitdiff
path: root/fs/nfs/pnfs.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-02-12 17:17:00 +0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-02-20 06:21:06 +0400
commit9a7fe9e8900baad5f6643000ea48b91aee895165 (patch)
tree2e83b086f8824df9d4ebe4d8bcd502a1c4aba1da /fs/nfs/pnfs.c
parent27999f253010bd64fd63dc80c99f8e926e2b110d (diff)
downloadlinux-9a7fe9e8900baad5f6643000ea48b91aee895165.tar.xz
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/nfs/pnfs.c')
0 files changed, 0 insertions, 0 deletions