]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: gracefully handle bad root pool names 729/head
authorYehuda Sadeh <yehuda@inktank.com>
Tue, 15 Oct 2013 23:05:14 +0000 (16:05 -0700)
committerYehuda Sadeh <yehuda@inktank.com>
Tue, 15 Oct 2013 23:05:14 +0000 (16:05 -0700)
commitc7acc2aee2f4aef19386ede46b4562b6552a3955
tree42da35aa9b0887bdfa81637ac7a3d3386c343fe4
parent270123124430f01957a5636db89a448c7d8b74d6
rgw: gracefully handle bad root pool names

Fixes: #5716
When invalid root pools specified (don't start with a period) we return
with an error instead of asserting.

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