netfs: Use subreq_counter to allocate subreq debug_index values
authorDavid Howells <dhowells@redhat.com>
Thu, 21 Mar 2024 10:16:55 +0000 (10:16 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 29 Apr 2024 14:01:44 +0000 (15:01 +0100)
commit120b878158cb2e98b167fef038f81c05efe2fd14
tree2fb3e4fd968b41f9a120cf773c4673aec24437a4
parent93bf1cc0096fa1e02244078db3334ca7fa1d88c1
netfs: Use subreq_counter to allocate subreq debug_index values

Use the subreq_counter in netfs_io_request to allocate subrequest
debug_index values in read ops as well as write ops.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
fs/netfs/io.c
fs/netfs/objects.c
fs/netfs/output.c