Client::update_dentry_lease also moves alternate_name from the lease
which causes it to zero out alternate_name on the second move.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/66373
(cherry picked from commit
9c276fd9b63072ce11864e310c0206d3424e1bcc)
// new dn
dn = link(effective_dir, dname, in, NULL);
}
- dn->alternate_name = std::move(dlease.alternate_name);
update_dentry_lease(dn, &dlease, request->sent_stamp, session);
if (hash_order) {