]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd16ac69a469591654ea478c8d12b271ec31a7b3f
tree754a0e8f1de848bc0a1e444a85fc2170be3a4e29
parent96c4b278f59f9d57692077ecfdcf7c952b330b0d
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