]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/.../client_request: don't pass Ref<PG> by reference
authorSamuel Just <sjust@redhat.com>
Tue, 6 Feb 2024 04:46:57 +0000 (20:46 -0800)
committerSamuel Just <sjust@redhat.com>
Mon, 1 Apr 2024 23:11:32 +0000 (16:11 -0700)
commit4164b08887c2b2c7a9df0cd80a681bb61be28ee6
treef73554185bdaa5cbc94e7a4ba5034a34dc636551
parent13042dde1134983f074f5bd4cf4c912d47d0193c
crimson/.../client_request: don't pass Ref<PG> by reference

If we only need a reference to the PG, pass a PG&.  Passing Ref<PG>&
makes it easy to inadvertently std::move() the passed value from
a caller.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/osd_operations/client_request.cc
src/crimson/osd/osd_operations/client_request.h