]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/Server: return after responding on error paths 69835/head
authorSun Yuechi <sunyuechi@iscas.ac.cn>
Tue, 30 Jun 2026 11:37:00 +0000 (19:37 +0800)
committerKefu Chai <k.chai@proxmox.com>
Wed, 1 Jul 2026 11:07:59 +0000 (19:07 +0800)
commit2601725fbf2ceea62096dd2f225f8d9fa2467383
tree2fbf0cd1bd185688c608938b5a09bfc6ab9774a1
parentcc3f8a69b36ffb9b6cbc97fed48e8c13322e1abe
mds/Server: return after responding on error paths

handle_client_symlink (-ENAMETOOLONG), reclaim_session (-EPERM) and
handle_client_readdir_snapdiff (-EINVAL) each sent an error reply on a
failure path but fell through, replying to the same MDRequest a second
time. reclaim_session additionally went on to bind reclaiming_from,
bypassing the auth_name check. Return right after sending the reply.

Fixes: https://tracker.ceph.com/issues/77862
Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
src/mds/Server.cc