Files
David Howells 0278422474 afs: Fix the fallback handling for the YFS.RemoveFile2 RPC call
BugLink: https://bugs.launchpad.net/bugs/2111953

[ Upstream commit e30458d690f35abb01de8b3cbc09285deb725d00 ]

Fix a pair of bugs in the fallback handling for the YFS.RemoveFile2 RPC
call:

 (1) Fix the abort code check to also look for RXGEN_OPCODE.  The lack of
     this masks the second bug.

 (2) call->server is now not used for ordinary filesystem RPC calls that
     have an operation descriptor.  Fix to use call->op->server instead.

Fixes: e49c7b2f6d ("afs: Build an abstraction around an "operation" concept")
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/109541.1736865963@warthog.procyon.org.uk
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Manuel Diewald <manuel.diewald@canonical.com>
Signed-off-by: Mehmet Basaran <mehmet.basaran@canonical.com>
2025-06-15 10:37:23 +03:00
..
2025-04-15 19:59:38 +03:00
2025-04-15 19:59:38 +03:00
2024-01-01 16:37:27 +00:00
2024-02-20 09:51:21 +01:00
2024-05-01 15:55:02 +02:00
2024-01-01 16:37:27 +00:00
2024-02-20 09:51:21 +01:00