aboutsummaryrefslogtreecommitdiffstats
path: root/fs/netfs/iterator.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2024-12-16 20:41:13 +0000
committerChristian Brauner <[email protected]>2024-12-20 21:34:07 +0000
commitf28fc2010d622a2f1f3fe8fcd2ce2376ecf3430f (patch)
tree1142b665e3d736dec412d9802408815fc52e04b1 /fs/netfs/iterator.c
parentafs: Use netfslib for symlinks, allowing them to be cached (diff)
downloadkernel-f28fc2010d622a2f1f3fe8fcd2ce2376ecf3430f.tar.gz
kernel-f28fc2010d622a2f1f3fe8fcd2ce2376ecf3430f.zip
afs: Eliminate afs_read
Now that directory and symlink reads go through netfslib, the afs_read struct is mostly redundant with almost all data duplicated in the netfs_io_request and netfs_io_subrequest structs that are also available any time we're doing a fetch. Eliminate afs_read by moving the one field we still need there to the afs_call struct (we may be given a different amount of data than what we asked for and have to track what remains of that) and using the netfs_io_subrequest directly instead. 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/iterator.c')
0 files changed, 0 insertions, 0 deletions