]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: bucket index ops on system buckets shouldn't do anything
authorYehuda Sadeh <yehuda@inktank.com>
Mon, 25 Mar 2013 16:50:33 +0000 (09:50 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Mon, 25 Mar 2013 17:20:01 +0000 (10:20 -0700)
commit90ab120a3c08f30654207c9c67fb0a4ff1476aff
tree78032c054bf4a92d49a76b54828c98bedecb9117
parentb8657fa08d0fe176c71a60c1654c53c3156a9c53
rgw: bucket index ops on system buckets shouldn't do anything

Fixes: #4508
Backport: bobtail
On certain bucket index operations we didn't check whether
the bucket was a system bucket, which caused the operations
to fail. This triggered an error message on bucket removal
operations.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
(cherry picked from commit 70e0ee8ba955322832f0c366537ddf7a0288761e)
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h