]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't use s->bucket for metadata api path entry 7408/head
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 29 Jan 2016 00:01:40 +0000 (16:01 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 29 Jan 2016 00:01:40 +0000 (16:01 -0800)
commitd5ae7f86a52b29a67c5633caa0f2e90bddaf71d1
treea1fd0fba1d4d42c4b561bcda6b79f6c678b2c6ee
parentbf9d1a067a3c3baeb50744e089c2d73d11c3e68b
rgw: don't use s->bucket for metadata api path entry

Fixes #14549

s->bucket is only initialized at the object store handler (post auth
callback). We don't want to initialize it for other cases because
it's not a real bucket, and initializing it will require going through
the authorization path for this 'bucket'.

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