NFSv4.1: Use the more efficient open_noattr call for open-by-filehandle
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Apr 2013 18:31:19 +0000 (14:31 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Apr 2013 18:31:19 +0000 (14:31 -0400)
commit8188df1733d6722336e287cc859b2567ad70576a
tree0bb4b41f1405f5b21f49f6451ab21671301b7255
parentfd068b200fb86e8fa52368e6f6088d2ab297a5d7
NFSv4.1: Use the more efficient open_noattr call for open-by-filehandle

When we're doing open-by-filehandle in NFSv4.1, we shouldn't need to
do the cache consistency revalidation on the directory. It is
therefore more efficient to just use open_noattr, which returns the
file attributes, but not the directory attributes.

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