]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/.../node.cc: fix Node initialization argument passing 48105/head
authorSamuel Just <sjust@redhat.com>
Wed, 14 Sep 2022 23:32:42 +0000 (16:32 -0700)
committerSamuel Just <sjust@redhat.com>
Wed, 14 Sep 2022 23:33:32 +0000 (16:33 -0700)
commit420ff0b4754b773e99aa42d240ebf9126294213b
tree4c53b265ed434a3c6b061a664c2bd961509be61c
parentc49b81c7d619cea23e9707d1f5bcc7de3049c4fd
crimson/.../node.cc: fix Node initialization argument passing

Argument evaluation order is unspecified, clang seems to be choosing
to execute the std::unique_ptr move constructor before the call to
get(), causing the first argument to be passed as null.

https://tracker.ceph.com/issues/57530
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/onode_manager/staged-fltree/node.cc