aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorPavel Shilovsky2019-09-30 10:06:19 -0700
committerSteve French2019-10-09 00:10:50 -0500
commitc82e5ac7fe3570a269c0929bf7899f62048e7dbc (patch)
tree082eed52a943822ccc76ac8ab719a7dfa17da54e /security
parentd4cfbf04b2aafcb657eb8ea0835e5cf51d371448 (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 'security')
0 files changed, 0 insertions, 0 deletions