diff options
author | Pavel Shilovsky <piastryyy@gmail.com> | 2019-09-30 10:06:19 -0700 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-10-09 00:10:50 -0500 |
commit | c82e5ac7fe3570a269c0929bf7899f62048e7dbc (patch) | |
tree | 082eed52a943822ccc76ac8ab719a7dfa17da54e /mm/kasan | |
parent | d4cfbf04b2aafcb657eb8ea0835e5cf51d371448 (diff) |
CIFS: Force revalidate inode when dentry is stale
Currently the client indicates that a dentry is stale when inode
numbers or type types between a local inode and a remote file
don't match. If this is the case attributes is not being copied
from remote to local, so, it is already known that the local copy
has stale metadata. That's why the inode needs to be marked for
revalidation in order to tell the VFS to lookup the dentry again
before openning a file. This prevents unexpected stale errors
to be returned to the user space when openning a file.
Cc: <stable@vger.kernel.org>
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'mm/kasan')
0 files changed, 0 insertions, 0 deletions