netfs: Prepare to split read_helper.c
authorDavid Howells <dhowells@redhat.com>
Tue, 1 Mar 2022 15:55:15 +0000 (15:55 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 18 Mar 2022 09:29:05 +0000 (09:29 +0000)
commit93345c3ba55f62f6b7189cdab354c7293fd45d75
tree5c7d894b410c8113fb7d888d8f573201b00496a2
parent4090b31422a6f24dfe701e31ffec7ba5804a7e2f
netfs: Prepare to split read_helper.c

Rename netfs_rreq_unlock() to netfs_rreq_unlock_folios() to make it sound
less like it's dropping a lock on an netfs_io_request struct.

Remove the 'static' marker on netfs_rreq_unlock_folios() and declaring it
in internal.h preparatory to splitting the file.

Changes
=======
ver #2)
 - Slide this patch to after the one adding netfs_begin_read().
 - As a consequence, don't need to unstatic so many functions.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com

Link: https://lore.kernel.org/r/164623002861.3564931.17340149482236413375.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/164678215208.1200972.9761906209395002182.stgit@warthog.procyon.org.uk/
Link: https://lore.kernel.org/r/164692912709.2099075.4349905992838317797.stgit@warthog.procyon.org.uk/
fs/netfs/internal.h
fs/netfs/read_helper.c