aboutsummaryrefslogtreecommitdiffstats
path: root/fs/netfs/internal.h
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2024-12-16 20:40:57 +0000
committerChristian Brauner <[email protected]>2024-12-20 21:34:03 +0000
commit751e213f9f8a24e1bd5988b9cb8043b0b2f017f0 (patch)
tree5d13008567ee338a951488be5d7752fecac71e82 /fs/netfs/internal.h
parentnetfs: Make netfs_advance_write() return size_t (diff)
downloadkernel-751e213f9f8a24e1bd5988b9cb8043b0b2f017f0.tar.gz
kernel-751e213f9f8a24e1bd5988b9cb8043b0b2f017f0.zip
netfs: Split retry code out of fs/netfs/write_collect.c
Split write-retry code out of fs/netfs/write_collect.c as it will become more elaborate when content crypto is introduced. Signed-off-by: David Howells <[email protected]> Link: https://lore.kernel.org/r/[email protected] cc: Jeff Layton <[email protected]> cc: [email protected] cc: [email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/netfs/internal.h')
-rw-r--r--fs/netfs/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/netfs/internal.h b/fs/netfs/internal.h
index 6aa2a8d49b37..73887525e939 100644
--- a/fs/netfs/internal.h
+++ b/fs/netfs/internal.h
@@ -190,6 +190,11 @@ int netfs_end_writethrough(struct netfs_io_request *wreq, struct writeback_contr
int netfs_unbuffered_write(struct netfs_io_request *wreq, bool may_wait, size_t len);
/*
+ * write_retry.c
+ */
+void netfs_retry_writes(struct netfs_io_request *wreq);
+
+/*
* Miscellaneous functions.
*/
static inline bool netfs_is_cache_enabled(struct netfs_inode *ctx)