diff options
| author | David Howells <dhowells@redhat.com> | 2026-07-13 16:22:55 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-07-23 11:32:40 +0200 |
| commit | 62d9853aa4ce6e9797b6949804891be14b219752 (patch) | |
| tree | 217e587c363e1463ef7bf93f8fae003a36e35a7a /tools/perf/scripts/python | |
| parent | c97cd6f447d8727af3d457bca3a9283a77dd70f8 (diff) | |
afs: Fix afs_edit_dir_remove() to get, not find, block 0
Fix afs_edit_dir_remove() to use afs_dir_get_block() to get block 0 rather
than afs_dir_find_block() as the latter caches the found block in the
afs_dir_iter and may[*] switch out the page it's on if another
afs_dir_find_block() is done. This parallels what afs_edit_dir_add() does.
[*] There's more than one block per page.
Fixes: a5b5beebcf96 ("afs: Use the contained hashtable to search a directory")
Closes: https://sashiko.dev/#/patchset/20260706153408.1231650-1-dhowells%40redhat.com
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://patch.msgid.link/2380759.1783956175@warthog.procyon.org.uk
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
cc: linux-fsdevel@vger.kernel.org
cc: stable@vger.kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
