mirror of
https://github.com/ceph/ceph
synced 2025-01-10 21:20:46 +00:00
Merge pull request #29559 from adamemerson/wip-putobj-crash
rgw: Move upload_info declaration out of conditional Reviewed-By: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
ad88d4dced
@ -3788,10 +3788,10 @@ void RGWPutObj::execute()
|
||||
|
||||
rgw_placement_rule *pdest_placement;
|
||||
|
||||
multipart_upload_info upload_info;
|
||||
if (multipart) {
|
||||
RGWMPObj mp(s->object.name, multipart_upload_id);
|
||||
|
||||
multipart_upload_info upload_info;
|
||||
op_ret = get_multipart_info(store, s, mp.get_meta(), nullptr, nullptr, &upload_info);
|
||||
if (op_ret < 0) {
|
||||
if (op_ret != -ENOENT) {
|
||||
|
Loading…
Reference in New Issue
Block a user