NFS: Refactor nfs_lookup_revalidate()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 28 Sep 2018 13:04:05 +0000 (09:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Aug 2019 07:30:51 +0000 (09:30 +0200)
commit24acd93f59955956c1ae825ed7773f63ff5cbfdb
treea474adebd056524a0fc66c85e411e3d35417fa70
parent01eea1cbba9d8309851f63356fa2f20a790af98f
NFS: Refactor nfs_lookup_revalidate()

commit 5ceb9d7fdaaf6d8ced6cd7861cf1deb9cd93fa47 upstream.

Refactor the code in nfs_lookup_revalidate() as a stepping stone towards
optimising and fixing nfs4_lookup_revalidate().

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Qian Lu <luqia@amazon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/dir.c