]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: avoid empty object names 7709/head
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 19 Feb 2016 07:50:06 +0000 (23:50 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 19 Feb 2016 07:50:06 +0000 (23:50 -0800)
commit9695a0b4d169c6ae72769f39b21cee8b6e2099cf
treed5924eccbcf8d448f438944eea2b9c4617a8d8e2
parent3f525f4043d9e4f2fecdae720a5f9d894ee3b133
rgw: avoid empty object names

Don't try to sync an object with empty name (shouldn't happen, but
bugs may happen). Also, don't try to write_meta() of an empty object
name, in case we get there through a different path somehow.

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