Invalidate fscache cookie only when inode attributes are changed.
authorRohith Surabattula <rohiths@microsoft.com>
Tue, 1 Feb 2022 07:22:02 +0000 (07:22 +0000)
committerSteve French <stfrench@microsoft.com>
Thu, 3 Feb 2022 06:08:51 +0000 (00:08 -0600)
commit40c845c176953311c8fc232e977516f7733c64cd
tree0c256d4e90ba4f0cc8ef8f534680d950a3db80f3
parent46f5cbdef7d4fbb0f857a3caddec6799d0b5bb2f
Invalidate fscache cookie only when inode attributes are changed.

For example if mtime or size has changed.

Signed-off-by: Rohith Surabattula <rohiths@microsoft.com>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/inode.c