diff --git a/src/messages/MClientRequest.h b/src/messages/MClientRequest.h index 516fdb5e2d790..396e67f1e0fa7 100644 --- a/src/messages/MClientRequest.h +++ b/src/messages/MClientRequest.h @@ -224,6 +224,9 @@ class MClientRequest final : public MMDSOp { copy_from_legacy_head(&head, &old_mds_head); head.version = 0; + head.ext_num_retry = head.num_retry; + head.ext_num_fwd = head.num_fwd; + /* Can't set the btime from legacy struct */ if (head.op == CEPH_MDS_OP_SETATTR) { int localmask = head.args.setattr.mask;