summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2024-12-16 23:41:10 +0300
committerChristian Brauner <brauner@kernel.org>2024-12-21 00:34:06 +0300
commitb2604315e87a3fa3c35561e1c37836f915c4e3d8 (patch)
tree30e192992616f648a78e045e6099654b9748ab36 /tools/perf/scripts/python/task-analyzer.py
parent49866ce7ea8d41a3dc198f519cc9caa2d6be1891 (diff)
downloadlinux-b2604315e87a3fa3c35561e1c37836f915c4e3d8.tar.xz
afs: Make afs_init_request() get a key if not given a file
In a future patch, AFS directory caching will go through netfslib and this will involve, at times, running on behalf of ->lookup(), which doesn't provide us with a file from which we can get an authentication key. If a file isn't provided, make afs_init_request() get a key from the process's keyrings instead when setting up a read. Signed-off-by: David Howells <dhowells@redhat.com> Link: https://lore.kernel.org/r/20241216204124.3752367-21-dhowells@redhat.com cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions