]> 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)
committerYuri Weinstein <yweinste@redhat.com>
Thu, 30 Nov 2023 18:16:17 +0000 (18:16 +0000)
commitf0b61195b221e4cc8bd8c259a07e7b6eb63a562d
tree8ba1c9acc138c1eb8ec98319f6281b967b41608f
parentfb7ed63dca70716c5071d1ef34f1852fa7726e60
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)
(cherry picked from commit 65257baa62eddac0cc3df9d2ca3a57e7fd2b25e2)
src/messages/MClientRequest.h