From: Sage Weil Date: Sun, 23 Feb 2014 17:00:27 +0000 (-0800) Subject: os/ObjectStore: fix rebase errors X-Git-Tag: v0.79~197 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9651b18b4e398b5183427c109904957be747d86a;p=ceph.git os/ObjectStore: fix rebase errors These were goofed by d74f1282cd268b4b04cfd9e90ddeac6d1dc6be7e. Signed-off-by: Sage Weil --- diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h index 886f3582be52..10055acdce1b 100644 --- a/src/os/ObjectStore.h +++ b/src/os/ObjectStore.h @@ -720,7 +720,7 @@ public: ops++; } /// Set multiple xattrs of an object - void setattrs(coll_t cid, const hobject_t& oid, map& attrset) { + void setattrs(coll_t cid, const ghobject_t& oid, map& attrset) { __u32 op = OP_SETATTRS; ::encode(op, tbl); ::encode(cid, tbl); @@ -1308,6 +1308,15 @@ public: value.push_back(bp); return r; } + int getattr( + coll_t cid, const ghobject_t& oid, + const string name, bufferlist& value) { + bufferptr bp; + int r = getattr(cid, oid, name.c_str(), bp); + value.push_back(bp); + return r; + } + /** * getattrs -- get all of the xattrs of an object *