Files
linux/fs/afs
David Howells ff98751bae afs: Fix the setting of the server responding flag
In afs_wait_for_operation(), we set transcribe the call responded flag to
the server record that we used after doing the fileserver iteration loop -
but it's possible to exit the loop having had a response from the server
that we've discarded (e.g. it returned an abort or we started receiving
data, but the call didn't complete).

This means that op->server might be NULL, but we don't check that before
attempting to set the server flag.

Fixes: 98f9fda205 ("afs: Fold the afs_addr_cursor struct in")
Signed-off-by: David Howells <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
cc: Marc Dionne <[email protected]>
cc: [email protected]
Signed-off-by: Christian Brauner <[email protected]>
2024-09-27 18:29:20 +02:00
..
…
…
2024-07-03 19:29:55 -07:00
2023-12-24 15:22:53 +00:00
2024-07-03 19:29:55 -07:00
2024-09-12 12:20:41 +02:00
2024-02-20 09:51:21 +01:00
2023-12-24 15:22:53 +00:00
2024-01-01 16:37:27 +00:00
2024-02-20 09:51:21 +01:00
2024-09-12 12:20:41 +02:00