netfs: Rename the netfs_io_request cleanup op and give it an op pointer
authorDavid Howells <dhowells@redhat.com>
Fri, 25 Feb 2022 11:19:14 +0000 (11:19 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 10 Jun 2022 19:55:21 +0000 (20:55 +0100)
commit40a81101202300df7db273f77dda9fbe6271b1d2
tree7d3590b1bc71454d1a685fff0855889393c00403
parente81fb4198e27925b151aad1450e0fd607d6733f8
netfs: Rename the netfs_io_request cleanup op and give it an op pointer

The netfs_io_request cleanup op is now always in a position to be given a
pointer to a netfs_io_request struct, so this can be passed in instead of
the mapping and private data arguments (both of which are included in the
struct).

So rename the ->cleanup op to ->free_request (to match ->init_request) and
pass in the I/O pointer.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
Documentation/filesystems/netfs_library.rst
fs/9p/vfs_addr.c
fs/afs/file.c
fs/ceph/addr.c
fs/netfs/objects.c
include/linux/netfs.h