commit | be189f7e7f03de35887e5a85ddcf39b91b5d7fc1 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Thu Sep 27 17:12:33 2018 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Sun Sep 30 15:35:18 2018 -0400 |
tree | c6cd8bc584d361d0398bf71ef7268ea8329720e5 | |
parent | 571ed1fd2390f74e4c1f46994f753fb0d29285e4 [diff] |
NFS: Fix dentry revalidation on NFSv4 lookup We need to ensure that inode and dentry revalidation occurs correctly on reopen of a file that is already open. Currently, we can end up not revalidating either in the case of NFSv4.0, due to the 'cached open' path. Let's fix that by ensuring that we only do cached open for the special cases of open recovery and delegation return. Reported-by: Stan Hu <stanhu@gmail.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>