]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Move upload_info declaration out of conditional 29898/head
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 19 Jul 2019 20:10:30 +0000 (16:10 -0400)
committerNathan Cutler <ncutler@suse.com>
Mon, 26 Aug 2019 13:09:39 +0000 (15:09 +0200)
commit7660d4292e6f04ba80e7057165a4727eea0710cb
tree90048d61894e1b872258429816a4406893c4101e
parent49a6c9aaf29cfb947ac384277ebed4d7897eaf01
rgw: Move upload_info declaration out of conditional

That way we don't deconstruct it right after assigning a reference to
part of it.

Fixes: https://tracker.ceph.com/issues/41172
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit a63881eaf7688ce0e5318de5d9847ec01a19f6d7)
src/rgw/rgw_op.cc