summaryrefslogtreecommitdiff
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2021-05-12 14:10:09 +0100
committerDavid Howells <dhowells@redhat.com>2021-08-25 15:20:25 +0100
commita7e20e31f6c063d928868ecc8e2effb7d4b9fe1b (patch)
tree754a0e8f1de848bc0a1e444a85fc2170be3a4e29 /fs/cachefiles
parent4c5e413994e632fc317e521b207d372e28184aef (diff)
downloadlinux-a7e20e31f6c063d928868ecc8e2effb7d4b9fe1b.tar.gz
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/
Diffstat (limited to 'fs/cachefiles')
-rw-r--r--fs/cachefiles/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cachefiles/io.c b/fs/cachefiles/io.c
index b13fb45fc3f3..ca68bb97ca00 100644
--- a/fs/cachefiles/io.c
+++ b/fs/cachefiles/io.c
@@ -410,7 +410,7 @@ int cachefiles_begin_read_operation(struct netfs_read_request *rreq,
rreq->cache_resources.cache_priv = op;
rreq->cache_resources.cache_priv2 = file;
rreq->cache_resources.ops = &cachefiles_netfs_cache_ops;
- rreq->cookie_debug_id = object->fscache.debug_id;
+ rreq->cache_resources.debug_id = object->fscache.debug_id;
_leave("");
return 0;