diff options
| author | David Howells <[email protected]> | 2021-05-12 14:10:09 +0100 |
|---|---|---|
| committer | David Howells <[email protected]> | 2021-08-25 15:20:25 +0100 |
| commit | a7e20e31f6c063d928868ecc8e2effb7d4b9fe1b (patch) | |
| tree | 754a0e8f1de848bc0a1e444a85fc2170be3a4e29 /include/trace | |
| parent | 4c5e413994e632fc317e521b207d372e28184aef (diff) | |
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 <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
cc: [email protected]
Link: https://lore.kernel.org/r/162431190784.2908479.13386972676539789127.stgit@warthog.procyon.org.uk/
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/netfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/netfs.h b/include/trace/events/netfs.h index de1c64635e42..4d470bffd9f1 100644 --- a/include/trace/events/netfs.h +++ b/include/trace/events/netfs.h @@ -139,7 +139,7 @@ TRACE_EVENT(netfs_read, TP_fast_assign( __entry->rreq = rreq->debug_id; - __entry->cookie = rreq->cookie_debug_id; + __entry->cookie = rreq->cache_resources.debug_id; __entry->start = start; __entry->len = len; __entry->what = what; |
