]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
smb3: extend fscache mount volume coherency check
authorSteve French <stfrench@microsoft.com>
Fri, 5 Jun 2020 22:19:46 +0000 (17:19 -0500)
committerSteve French <stfrench@microsoft.com>
Sat, 6 Jun 2020 16:16:25 +0000 (11:16 -0500)
commit5865985416ebb5a0c198a819a098b5cc300ac8a4
tree915610812c337cc2777052d134950161aadcc6fb
parent3803d5e4d3ce2600ffddc16a1999798bc719042d
smb3: extend fscache mount volume coherency check

It is better to check volume id and creation time, not just
the root inode number to verify if the volume has changed
when remounting.

Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cache.c
fs/cifs/fscache.c
fs/cifs/fscache.h