Skip to content

Commit

Permalink
netfs: Rename rename read_helper.c to io.c
Browse files Browse the repository at this point in the history
The read_helper.c file now only contains I/O functions, so rename the file
to io.c.  It will eventually get write-side I/O functions also.

Changes
=======
ver smaeul#2)
 - Change kdoc reference to file[1].

Signed-off-by: David Howells <[email protected]>
cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]/ [1]
  • Loading branch information
dhowells committed Mar 3, 2022
1 parent 12872c2 commit f9523c3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Documentation/filesystems/netfs_library.rst
Original file line number Diff line number Diff line change
Expand Up @@ -605,4 +605,4 @@ API Function Reference

.. kernel-doc:: include/linux/netfs.h
.. kernel-doc:: fs/netfs/buffered_read.c
.. kernel-doc:: fs/netfs/read_helper.c
.. kernel-doc:: fs/netfs/io.c
4 changes: 2 additions & 2 deletions fs/netfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

netfs-y := \
buffered_read.o \
io.o \
main.o \
objects.o \
read_helper.o
objects.o

netfs-$(CONFIG_NETFS_STATS) += stats.o

Expand Down
10 changes: 5 additions & 5 deletions fs/netfs/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
*/
void netfs_rreq_unlock_folios(struct netfs_io_request *rreq);

/*
* io.c
*/
int netfs_begin_read(struct netfs_io_request *rreq, bool sync);

/*
* main.c
*/
Expand All @@ -44,11 +49,6 @@ static inline void netfs_see_request(struct netfs_io_request *rreq,
trace_netfs_rreq_ref(rreq->debug_id, refcount_read(&rreq->ref), what);
}

/*
* read_helper.c
*/
int netfs_begin_read(struct netfs_io_request *rreq, bool sync);

/*
* stats.c
*/
Expand Down
File renamed without changes.

0 comments on commit f9523c3

Please sign in to comment.