netfs: Move cookie debug ID to struct netfs_cache_resources
authorDavid Howells <dhowells@redhat.com>
Wed, 12 May 2021 13:10:09 +0000 (14:10 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 25 Aug 2021 14:20:25 +0000 (15:20 +0100)
commita7e20e31f6c063d928868ecc8e2effb7d4b9fe1b
tree754a0e8f1de848bc0a1e444a85fc2170be3a4e29
parent4c5e413994e632fc317e521b207d372e28184aef
netfs: Move cookie debug ID to struct netfs_cache_resources

Move the cookie debug ID from struct netfs_read_request to struct
netfs_cache_resources and drop the 'cookie_' prefix.  This makes it
available for things that want to use netfs_cache_resources without having
a netfs_read_request.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/162431190784.2908479.13386972676539789127.stgit@warthog.procyon.org.uk/
fs/cachefiles/io.c
include/linux/netfs.h
include/trace/events/netfs.h