diff options
author | David Howells <dhowells@redhat.com> | 2023-11-20 20:09:47 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2023-12-24 18:08:48 +0300 |
commit | 4498a8eccc97de3d65f876b6fdeddb439ef73abc (patch) | |
tree | bf40490e0bc53c6cd0103e7040a9958b422b2e86 /include/linux/netfs.h | |
parent | 915cd30cdea8811cddd8f59e57dd9dd0a814b76c (diff) | |
download | linux-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/netfs.h')
-rw-r--r-- | include/linux/netfs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/netfs.h b/include/linux/netfs.h index b11a84f6c32b..d294ff8f9ae4 100644 --- a/include/linux/netfs.h +++ b/include/linux/netfs.h @@ -208,7 +208,6 @@ struct netfs_io_request { struct netfs_request_ops { int (*init_request)(struct netfs_io_request *rreq, struct file *file); void (*free_request)(struct netfs_io_request *rreq); - int (*begin_cache_operation)(struct netfs_io_request *rreq); void (*expand_readahead)(struct netfs_io_request *rreq); bool (*clamp_length)(struct netfs_io_subrequest *subreq); @@ -229,8 +228,7 @@ enum netfs_read_from_hole { }; /* - * Table of operations for access to a cache. This is obtained by - * rreq->ops->begin_cache_operation(). + * Table of operations for access to a cache. */ struct netfs_cache_ops { /* End an operation */ |