NFS: Optimise away the close-to-open GETATTR when we have NFSv4 OPEN
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 10 May 2018 14:08:36 +0000 (10:08 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 28 May 2018 17:29:19 +0000 (13:29 -0400)
commit479219218fbe0a74bc36310fefc5ac6439c7cece
treef54fcde2b38595d86aae6f0e78db36a7f294fcbf
parent786b71f5b754273ccef6d9462e52062b3e1f9877
NFS: Optimise away the close-to-open GETATTR when we have NFSv4 OPEN

NFSv4 should not need to perform an extra close-to-open GETATTR as part
of the process of looking up a regular file, since the OPEN call will
do that for us.

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