NFS: More excessive attribute revalidation in nfs_execute_ok()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 24 Jul 2018 18:27:11 +0000 (14:27 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 26 Jul 2018 20:25:25 +0000 (16:25 -0400)
commit3825827ebf9973600347b16e848f3de52262ab6b
tree8867727645ca75ab917958561ee91006f0ff6805
parentcf8340277f1128c4760976d0574359e6d765893c
NFS: More excessive attribute revalidation in nfs_execute_ok()

execute_ok() will only check the mode bits if the object is not a
directory, so we don't need to revalidate the attributes in that case.

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