Patch "afs: Fix afs_fs_fetch_data() to set call->async" has been added to the 7.1-stable tree
gregkh at linuxfoundation.org
gregkh at linuxfoundation.org
Wed Aug 5 02:50:58 PDT 2026
This is a note to let you know that I've just added the patch titled
afs: Fix afs_fs_fetch_data() to set call->async
to the 7.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
afs-fix-afs_fs_fetch_data-to-set-call-async.patch
and it can be found in the queue-7.1 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable at vger.kernel.org> know about it.
>From d568a43f6dbba3ba006304d95fd09862bd482a2f Mon Sep 17 00:00:00 2001
From: David Howells <dhowells at redhat.com>
Date: Thu, 23 Jul 2026 12:34:46 +0100
Subject: afs: Fix afs_fs_fetch_data() to set call->async
From: David Howells <dhowells at redhat.com>
commit d568a43f6dbba3ba006304d95fd09862bd482a2f upstream.
Fix afs_fs_fetch_data() to set call->async on an async operation as does
afs_fs_fetch_data64().
Fixes: eddf51f2bb2c ("afs: Make {Y,}FS.FetchData an asynchronous operation")
Link: https://sashiko.dev/#/patchset/20260702144919.172295-1-dhowells%40redhat.com
Signed-off-by: David Howells <dhowells at redhat.com>
Link: https://patch.msgid.link/20260723113452.566619-2-dhowells@redhat.com
cc: Marc Dionne <marc.dionne at auristor.com>
cc: Jeffrey Altman <jaltman at auristor.com>
cc: linux-afs at lists.infradead.org
cc: stable at kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
fs/afs/fsclient.c | 3 +++
1 file changed, 3 insertions(+)
--- a/fs/afs/fsclient.c
+++ b/fs/afs/fsclient.c
@@ -477,6 +477,9 @@ void afs_fs_fetch_data(struct afs_operat
if (!call)
return afs_op_nomem(op);
+ if (op->flags & AFS_OPERATION_ASYNC)
+ call->async = true;
+
/* marshall the parameters */
bp = call->request;
bp[0] = htonl(FSFETCHDATA);
Patches currently in stable-queue which might be from dhowells at redhat.com are
queue-7.1/netfs-fix-folio_queue-enomem-in-writeback-by-adding-.patch
queue-7.1/netfs-release-readahead-folios-on-iterator-preparati.patch
queue-7.1/netfs-handle-single-writeback-rolling-buffer-allocat.patch
queue-7.1/netfs-clear-pg_private_2-on-copy-to-cache-append-fai.patch
queue-7.1/afs-fix-uaf-when-sending-a-message.patch
queue-7.1/afs-fix-afs_fs_fetch_data-to-set-call-async.patch
queue-7.1/afs-fix-afs_fs_fetch_data-to-subtract-transferred-from-len.patch
More information about the linux-afs
mailing list