]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0d7d99fa5b5c4c250a1ce68fb9d16588adb43ea
tree8867727645ca75ab917958561ee91006f0ff6805
parent6d709d49a11c6da2731e464f2c3b88341e0ac9bb
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