diff options
author | David Howells <dhowells@redhat.com> | 2022-02-17 11:01:23 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-03-18 10:24:00 +0100 |
commit | 6a19114b8e7f1e24d80b0812e26d78d7ae1ec6dd (patch) | |
tree | 0cb1fab2d4a5dd3ff430c7435078fe4da2895794 /net/compat.c | |
parent | netfs: Generate enums from trace symbol mapping lists (diff) | |
download | linux-6a19114b8e7f1e24d80b0812e26d78d7ae1ec6dd.tar.xz linux-6a19114b8e7f1e24d80b0812e26d78d7ae1ec6dd.zip |
netfs: Rename netfs_read_*request to netfs_io_*request
Rename netfs_read_*request to netfs_io_*request so that the same structures
can be used for the write helpers too.
perl -p -i -e 's/netfs_read_(request|subrequest)/netfs_io_$1/g' \
`git grep -l 'netfs_read_\(sub\|\)request'`
perl -p -i -e 's/nr_rd_ops/nr_outstanding/g' \
`git grep -l nr_rd_ops`
perl -p -i -e 's/nr_wr_ops/nr_copy_ops/g' \
`git grep -l nr_wr_ops`
perl -p -i -e 's/netfs_read_source/netfs_io_source/g' \
`git grep -l 'netfs_read_source'`
perl -p -i -e 's/netfs_io_request_ops/netfs_request_ops/g' \
`git grep -l 'netfs_io_request_ops'`
perl -p -i -e 's/init_rreq/init_request/g' \
`git grep -l 'init_rreq'`
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/164622988070.3564931.7089670190434315183.stgit@warthog.procyon.org.uk/ # v1
Link: https://lore.kernel.org/r/164678195157.1200972.366609966927368090.stgit@warthog.procyon.org.uk/ # v2
Link: https://lore.kernel.org/r/164692891535.2099075.18435198075367420588.stgit@warthog.procyon.org.uk/ # v3
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions