summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2026-09-15 17:21:59 +0100
committerChristian Brauner <brauner@kernel.org>2026-09-17 12:27:36 +0200
commitc51e89c5b5db3e1927738fad7cd18b66dde68aed (patch)
tree0ced6f56c345d6c0117a44af23831d0c0407e713 /tools/perf/scripts/python/bin
parentfc3ae66514ca5e87251f79044236e3e8babd24a3 (diff)
downloadlinux-next-c51e89c5b5db3e1927738fad7cd18b66dde68aed.tar.gz
linux-next-c51e89c5b5db3e1927738fad7cd18b66dde68aed.zip
netfs, afs: Fix symlink reading
Fix the reading of symlinks from the cache in afs by making netfslib trim the amount read down to i_size. The problem is that afs sets the size of the iterator to the size of the buffer (PAGE_SIZE) so that the cache can round the read size up to the cache's DIO size. Note that this also impacts the reading of AFS mountpoints as they're just stored as symlinks with an odd file mode. Link: https://patch.msgid.link/3912795.1789489319@warthog.procyon.org.uk Fixes: c0410adf3da6 ("afs: Fix the locking used by afs_get_link()") Reviewed-by: Paulo Alcantara <pc@manguebit.org> cc: Paulo Alcantara <pc@manguebit.org> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org cc: netfs@lists.linux.dev cc: linux-fsdevel@vger.kernel.org Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions