]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
MClientRequest: handle owner_uid and owner_gid from ceph_mds_request_head_legacy
authorAlexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Mon, 23 Oct 2023 12:37:44 +0000 (14:37 +0200)
committerAlexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Wed, 8 Nov 2023 06:28:32 +0000 (07:28 +0100)
commit65257baa62eddac0cc3df9d2ca3a57e7fd2b25e2
tree7f98f13d399235914477fda95cd365afa85ea275
parent312bb5b9f1ada9646205a78f0a0fcc73d2530d5c
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>
(cherry picked from commit a70a70f589214d6e2a5b477a61005b13ba2fec46)
src/messages/MClientRequest.h