]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
RGW Zipper - clean up setting bucket on s->object 43193/head
authorDaniel Gryniewicz <dang@redhat.com>
Thu, 16 Sep 2021 16:53:50 +0000 (12:53 -0400)
committerDaniel Gryniewicz <dang@redhat.com>
Fri, 17 Sep 2021 13:43:02 +0000 (09:43 -0400)
commit0788833f6e9e7ae79b9d4712b951225ac1d11111
tree7d3b3f3bf0deeb7fde91bd3169e9df22a2c7d092
parentea62954d9def9b20443aca7ebbd80fc02adafb33
RGW Zipper - clean up setting bucket on s->object

s->object is always created wihtout a bucket, and the bucket is added
later.  The proper place for this is in rgw_build_bucket_policies(), in
the permissions handling callpaths.  Remove all the other places where
bucket is set, ensuring that s->object has a stable bucket pointer.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
src/rgw/rgw_op.cc
src/rgw/rgw_rest_s3.cc