]> 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)
commit7ca4b1156b4da4752553547b4d4102861d3a1d75
tree915610812c337cc2777052d134950161aadcc6fb
parent2cfa8f04f6e808ef5117a01021ee6b1184cf232d
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