diff options
| author | David Howells <[email protected]> | 2024-12-16 20:41:10 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-12-20 21:34:06 +0000 |
| commit | b2604315e87a3fa3c35561e1c37836f915c4e3d8 (patch) | |
| tree | 30e192992616f648a78e045e6099654b9748ab36 /fs/netfs/rolling_buffer.c | |
| parent | netfs: Add support for caching single monolithic objects such as AFS dirs (diff) | |
| download | kernel-b2604315e87a3fa3c35561e1c37836f915c4e3d8.tar.gz kernel-b2604315e87a3fa3c35561e1c37836f915c4e3d8.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
cc: Marc Dionne <[email protected]>
cc: [email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs/netfs/rolling_buffer.c')
0 files changed, 0 insertions, 0 deletions
