]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5758658767b0d8417e9ec714d6015b393363db40
tree7d3590b1bc71454d1a685fff0855889393c00403
parente8e91508b493183ff347d0a37001f659b9a32774
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