From: Sage Weil Date: Mon, 20 Feb 2012 19:25:37 +0000 (-0800) Subject: hobject_t: remove unused back_up_to_bounding_key() X-Git-Tag: v0.43~51 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1ff75684ebf80cb28d60c86068961547e350602b;p=ceph.git hobject_t: remove unused back_up_to_bounding_key() This was a path not taken in the backfill code. Signed-off-by: Sage Weil --- diff --git a/src/os/hobject.h b/src/os/hobject.h index 87cd4709954cb..180ebcf3d44b8 100644 --- a/src/os/hobject.h +++ b/src/os/hobject.h @@ -88,19 +88,6 @@ public: return oid.name; } - /** - * back up hobject_t to beginning of hash bucket, if i am partway through one. - */ - void back_up_to_bounding_key() { - if (key.length()) { - oid.clear(); - } else { - key = oid.name; - oid.clear(); - } - snap = 0; - } - void swap(hobject_t &o) { hobject_t temp(o); o.oid = oid;