NFSv4: Fix lookup revalidate of regular files
commit c7944ebb9ce9461079659e9e6ec5baaf73724b3b upstream. If we're revalidating an existing dentry in order to open a file, we need to ensure that we check the directory has not changed before we optimise away the lookup. Signed-off-by:Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by:
Qian Lu <luqia@amazon.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment