NFS: Remove the NFSv4 "open optimisation" from nfs_permission
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 20 Aug 2013 16:29:27 +0000 (12:29 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 20 Aug 2013 16:29:27 +0000 (12:29 -0400)
commit5948a401a7f06d67f8548651041e00fd1aafcaf9
treefcdc35d085fdd7c227066449990a369629963e18
parent97431204ea005ec8070ac94bc3251e836daa7ca7
NFS: Remove the NFSv4 "open optimisation" from nfs_permission

Ever since commit 6168f62cb (Add ACCESS operation to OPEN compound)
the NFSv4 atomic open has primed the access cache, and so nfs_permission
will no longer do an RPC call on the wire.

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