]> git.baikalelectronics.ru Git - 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)
commitad0ee71524eb0d6a05ee7f5d46efae4fa90bd2a4
tree915610812c337cc2777052d134950161aadcc6fb
parentb8075e5f3125d284eed9f32e9e54fe8f456dd065
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