]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
MClientRequest: handle owner_uid and owner_gid from ceph_mds_request_head_legacy 54149/head
authorAlexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Mon, 23 Oct 2023 12:37:44 +0000 (14:37 +0200)
committerAlexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Tue, 24 Oct 2023 14:07:20 +0000 (16:07 +0200)
commita70a70f589214d6e2a5b477a61005b13ba2fec46
tree59f90dee1f738f4f3e3b31766e9fd4929460a60c
parent43f32a46aa9095b19525357ba7ca215e842b4f77
MClientRequest: handle owner_uid and owner_gid from ceph_mds_request_head_legacy

When a client is too old and uses struct ceph_mds_request_head_legacy we must
fill new owner_uid and owner_gid fields from an old client_uid and client_gid.

Fixes: https://github.com/ceph/ceph/pull/52575
Fixes: https://tracker.ceph.com/issues/63288
Fixes: commit 46cb244b9c839 ("ceph_fs.h: add separate owner_{u,g}id fields")
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
src/messages/MClientRequest.h