Fix uncleared op->call pointer in afs_wait_for_operation() to make sure that it isn't seen set if server rotation occurs. Note that afs_read_receive() already does this. Note also that this was spotted by AI code inspection rather than by hitting an issue. Fixes: e49c7b2f6de7 ("afs: Build an abstraction around an "operation" concept") Link: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260907113743.1453210-1-dhowells%40redhat.com Signed-off-by: David Howells cc: Marc Dionne cc: Eric Dumazet cc: "David S. Miller" cc: Jakub Kicinski cc: Paolo Abeni cc: Simon Horman cc: linux-afs@lists.infradead.org --- fs/afs/fs_operation.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/afs/fs_operation.c b/fs/afs/fs_operation.c index 20801b29521d..94fa65548d71 100644 --- a/fs/afs/fs_operation.c +++ b/fs/afs/fs_operation.c @@ -297,6 +297,7 @@ void afs_wait_for_operation(struct afs_operation *op) op->call_error = op->call->error; op->call_responded = op->call->responded; afs_put_call(op->call); + op->call = NULL; } }