summaryrefslogtreecommitdiff
path: root/include/linux/fscache.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2023-11-20 20:09:47 +0300
committerDavid Howells <dhowells@redhat.com>2023-12-24 18:08:48 +0300
commit4498a8eccc97de3d65f876b6fdeddb439ef73abc (patch)
treebf40490e0bc53c6cd0103e7040a9958b422b2e86 /include/linux/fscache.h
parent915cd30cdea8811cddd8f59e57dd9dd0a814b76c (diff)
downloadlinux-4498a8eccc97de3d65f876b6fdeddb439ef73abc.tar.xz
netfs, fscache: Remove ->begin_cache_operation
Remove ->begin_cache_operation() in favour of just calling fscache directly. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> cc: Christian Brauner <christian@brauner.io> cc: linux-fsdevel@vger.kernel.org cc: linux-cachefs@redhat.com
Diffstat (limited to 'include/linux/fscache.h')
-rw-r--r--include/linux/fscache.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/fscache.h b/include/linux/fscache.h
index 8e312c8323a8..9ed6696aee7a 100644
--- a/include/linux/fscache.h
+++ b/include/linux/fscache.h
@@ -437,9 +437,6 @@ const struct netfs_cache_ops *fscache_operation_valid(const struct netfs_cache_r
* indicates the cache resources to which the operation state should be
* attached; @cookie indicates the cache object that will be accessed.
*
- * This is intended to be called from the ->begin_cache_operation() netfs lib
- * operation as implemented by the network filesystem.
- *
* @cres->inval_counter is set from @cookie->inval_counter for comparison at
* the end of the operation. This allows invalidation during the operation to
* be detected by the caller.