Skip to content

afs: Miscellaneous fixes

David Howells linux-fsdevel lkml stable 1 version Applied

Status from this message: Applied to the vfs.fixes branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4afs: Fix missing kunmap in afs_dir_search_bucket()fs/afs/dir_search.c+1 -20 replies
2/4afs: Fix double-unmap of directory blockfs/afs/dir_edit.c fs/afs/dir_search.c fs/afs/internal.h+12 -150 replies
3/4afs: Fix incorrect free in candidate cleanup in afs_lookup_server()fs/afs/server.c+0 -10 replies
4/4afs: Clear stale peer app data after address list changesfs/afs/addr_list.c fs/afs/fs_probe.c+5 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] afs: Miscellaneous fixes

Hi Christian,

Can you pick up these miscellaneous AFS fixes, please? Three were found by Sashiko[1][2] and one was a posted patch.

(1) Fix missing kunmap in afs_dir_search_bucket().

(2) Fix double-unmap of directory block.

(3) Fix an incorrect free in afs_lookup_server().

(4) Clear stale peer app data after address list changes.

The patches can be found here:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-fixes

Thanks,
David

[1] https://sashiko.dev/#/patchset/20260716103030.3065561-1-dhowells%40redhat.com
[2] https://sashiko.dev/#/patchset/20260729160108.2031453-1-dhowells%40redhat.com

Chengfeng Ye (1):
afs: Clear stale peer app data after address list changes

David Howells (3):
afs: Fix missing kunmap in afs_dir_search_bucket()
afs: Fix double-unmap of directory block
afs: Fix incorrect free in candidate cleanup in afs_lookup_server()

 fs/afs/addr_list.c  |  5 ++++-
 fs/afs/dir_edit.c   |  9 ++-------
 fs/afs/dir_search.c | 11 ++---------
 fs/afs/fs_probe.c   |  1 +
 fs/afs/internal.h   |  8 ++++++++
 fs/afs/server.c     |  1 -
 6 files changed, 17 insertions(+), 18 deletions(-)