aboutsummaryrefslogtreecommitdiff
path: root/fs/afs/write.c
diff options
context:
space:
mode:
authorGravatar David Howells <dhowells@redhat.com> 2024-03-08 12:36:05 +0000
committerGravatar David Howells <dhowells@redhat.com> 2024-05-01 18:07:37 +0100
commit2df86547b23dabcd02ab000a24ed7813606c269f (patch)
tree930e4bc531a505d0828dc2020dbea246ba7e88e9 /fs/afs/write.c
parentnetfs, cachefiles: Implement helpers for new write code (diff)
downloadlinux-2df86547b23dabcd02ab000a24ed7813606c269f.tar.gz
linux-2df86547b23dabcd02ab000a24ed7813606c269f.tar.bz2
linux-2df86547b23dabcd02ab000a24ed7813606c269f.zip
netfs: Cut over to using new writeback code
Cut over to using the new writeback code. The old code is #ifdef'd out or otherwise removed from compilation to avoid conflicts and will be removed in a future patch. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> cc: Eric Van Hensbergen <ericvh@kernel.org> cc: Latchesar Ionkov <lucho@ionkov.net> cc: Dominique Martinet <asmadeus@codewreck.org> cc: Christian Schoenebeck <linux_oss@crudebyte.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: v9fs@lists.linux.dev cc: linux-afs@lists.infradead.org cc: netfs@lists.linux.dev cc: linux-fsdevel@vger.kernel.org
Diffstat (limited to 'fs/afs/write.c')
-rw-r--r--fs/afs/write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/afs/write.c b/fs/afs/write.c
index 34595f482718..35db74627563 100644
--- a/fs/afs/write.c
+++ b/fs/afs/write.c
@@ -156,6 +156,7 @@ try_next_key:
return afs_put_operation(op);
}
+#if 0 // TODO: Remove
static void afs_upload_to_server(struct netfs_io_subrequest *subreq)
{
struct afs_vnode *vnode = AFS_FS_I(subreq->rreq->inode);
@@ -193,6 +194,7 @@ void afs_create_write_requests(struct netfs_io_request *wreq, loff_t start, size
if (subreq)
netfs_queue_write_request(subreq);
}
+#endif
/*
* Writeback calls this when it finds a folio that needs uploading. This isn't