NFS: Optimise away lookups for rename targets
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 10 May 2018 14:34:21 +0000 (10:34 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 28 May 2018 17:29:19 +0000 (13:29 -0400)
commit9f6d44d418b1f47298a92cd2dc42b8dba8b04816
treeda47696347f15bc29d954803c59b6784a8d06163
parent73dd684a4dcee8c55882a01aeb8b5cbf203de955
NFS: Optimise away lookups for rename targets

We can optimise away any lookup for a rename target, unless we're
being asked to revalidate a dentry that might be in use.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/dir.c