]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: svc.bucket: move _orig_info out of "if" block
authorKefu Chai <kchai@redhat.com>
Fri, 27 Dec 2019 03:33:37 +0000 (11:33 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 27 Dec 2019 03:36:05 +0000 (11:36 +0800)
commitc1da1259741f66211d877af423af712f51c1481a
tree6ce489e3f1543f6bfcd8084e3f3c7b21f0401ec7
parenta3045a7332516577bcb1a8072cec89eb02e55074
rgw: svc.bucket: move _orig_info out of "if" block

so `*orig_info` is valid out of the `if` block if it's set to
`&_orig_info`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/rgw/services/svc_bucket_sobj.cc