Skip to content

Commit 3be0175

Browse files
committed
netfs: Rename read_helper.c to io.c
Rename the read_helper.c file to io.c before splitting out the buffered read functions and some other bits. Changes ======= ver #2) - Rename read_helper.c before splitting. Signed-off-by: David Howells <[email protected]> Reviewed-by: Jeff Layton <[email protected]> cc: [email protected] Link: https://lore.kernel.org/r/164678216109.1200972.16567696909952495832.stgit@warthog.procyon.org.uk/ # v2 Link: https://lore.kernel.org/r/164692918076.2099075.8120961172717347610.stgit@warthog.procyon.org.uk/ # v3
1 parent 93345c3 commit 3be0175

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

Documentation/filesystems/netfs_library.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,4 +605,5 @@ API Function Reference
605605
======================
606606

607607
.. kernel-doc:: include/linux/netfs.h
608-
.. kernel-doc:: fs/netfs/read_helper.c
608+
.. kernel-doc:: fs/netfs/buffered_read.c
609+
.. kernel-doc:: fs/netfs/io.c

fs/netfs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
netfs-y := \
4-
objects.o \
5-
read_helper.o
4+
io.o \
5+
objects.o
66

77
netfs-$(CONFIG_NETFS_STATS) += stats.o
88

fs/netfs/internal.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@
2020
*/
2121
void netfs_rreq_unlock_folios(struct netfs_io_request *rreq);
2222

23+
/*
24+
* io.c
25+
*/
26+
extern unsigned int netfs_debug;
27+
28+
int netfs_begin_read(struct netfs_io_request *rreq, bool sync);
29+
2330
/*
2431
* objects.c
2532
*/
@@ -39,13 +46,6 @@ static inline void netfs_see_request(struct netfs_io_request *rreq,
3946
trace_netfs_rreq_ref(rreq->debug_id, refcount_read(&rreq->ref), what);
4047
}
4148

42-
/*
43-
* read_helper.c
44-
*/
45-
extern unsigned int netfs_debug;
46-
47-
int netfs_begin_read(struct netfs_io_request *rreq, bool sync);
48-
4949
/*
5050
* stats.c
5151
*/
File renamed without changes.

0 commit comments

Comments
 (0)