Skip to content
Commit 5c5fc09a authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Ensure we revalidate attributes before using execute_ok()



Donald Buczek reports that NFS clients can also report incorrect
results for access() due to lack of revalidation of attributes
before calling execute_ok().
Looking closely, it seems chdir() is afflicted with the same problem.

Fix is to ensure we call nfs_revalidate_inode_rcu() or
nfs_revalidate_inode() as appropriate before deciding to trust
execute_ok().

Reported-by: default avatarDonald Buczek <buczek@molgen.mpg.de>
Link: http://lkml.kernel.org/r/1451331530-3748-1-git-send-email-buczek@molgen.mpg.de


Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 494f74a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment