]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: RGWRadosPutObj() fix need_to_process_attrs handling
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 16 Jan 2019 03:30:14 +0000 (19:30 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 16 Jan 2019 03:30:14 +0000 (19:30 -0800)
commitd0ee1c9bd893a682112a24d35f8cc35f0221627e
tree53bcd5ddee2886a57329a6b89138e0053eae1e74
parent6206786c52ec28b01f7ebd6552729524d0d0cc24
rgw: RGWRadosPutObj() fix need_to_process_attrs handling

Set need_to_process_attrs anyway, and not only if have extra_data. This
can be triggered also in cases where we get error response, in which case
there's no extra data. Make sure it's only getting called once.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rados.cc