]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix reading bucket policy in RGWBucket::get_policy() 908/head
authorYehuda Sadeh <yehuda@inktank.com>
Fri, 6 Dec 2013 19:07:09 +0000 (11:07 -0800)
committerYehuda Sadeh <yehuda@inktank.com>
Fri, 6 Dec 2013 19:10:21 +0000 (11:10 -0800)
commit7a9a088d82d04f6105d72f6347673724ac16c9f8
treee942aee6eef6593aca16e3e35d184538242c9e8a
parent80fb336b4c0048c784d20ae3c981879a8050e4a6
rgw: fix reading bucket policy in RGWBucket::get_policy()

Fixes: 6940
Backport: dumpling, emperor

We changed the way we keep the bucket policy, and we shouldn't try to
access the bucket object directly. This had changed when we added the
bucket instance object around dumpling.

Reported-by: Gao, Wei M <wei.m.gao@intel.com>
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
src/rgw/rgw_bucket.cc