ceph/ceph — pull request #2321 by yehudasa (2014-08-25 17:58:14+00:00)
Title: rgw: fix test to identify whether object has tail

Fixes: #9226
Reported-by: Sylvain Munaut
Backport: firefly

We need to identify whether an object is just composed of a head, or
also has a tail. Test for pre-firefly objects ("explicit objs") was
broken as it was just looking at the number of explicit objs in the
manifest. However, this is insufficient, as we might have empty head,
and in this case it wouldn't appear, so we need to check whether the
sole object is actually pointing at the head.

Signed-off-by: Yehuda Sadeh