]> www.infradead.org Git - nvme.git/commit
cifs: Fix missing fscache invalidation
authorDavid Howells <dhowells@redhat.com>
Fri, 19 Jul 2024 15:01:48 +0000 (16:01 +0100)
committerSteve French <stfrench@microsoft.com>
Sat, 20 Jul 2024 18:55:29 +0000 (13:55 -0500)
commita07d38afd15281c42613943a9a715c3ba07c21e6
treeca7da36542b41a52c51ada235440b7b9477f3455
parent519be989717c5bffaed1dc14a439e3872cb4bb8d
cifs: Fix missing fscache invalidation

A network filesystem needs to implement a netfslib hook to invalidate
fscache if it's to be able to use the cache.

Fix cifs to implement the cache invalidation hook.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Cc: stable@vger.kernel.org
Fixes: 3ee1a1fc3981 ("cifs: Cut over to using netfslib")
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/file.c