]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Minor optimisation in get_layout_by_fh_locked()
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 12 Feb 2014 13:17:00 +0000 (08:17 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 20 Feb 2014 02:21:06 +0000 (21:21 -0500)
commit9c9558ec768cc6737420a3f8b1e6ec63b5377b9f
tree2e83b086f8824df9d4ebe4d8bcd502a1c4aba1da
parent7e5f52ab9787eb509ff5f7fdb8bc493337728405
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>
fs/nfs/callback_proc.c