]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/ObjectStore: make getattrs() pure virtual
authorSage Weil <sage@inktank.com>
Thu, 5 Dec 2013 23:33:20 +0000 (15:33 -0800)
committerSage Weil <sage@inktank.com>
Thu, 5 Dec 2013 23:33:20 +0000 (15:33 -0800)
It is required.

Signed-off-by: Sage Weil <sage@inktank.com>
src/os/ObjectStore.h

index 5c7147cce597fa0c0b50ddf092ba0d0e8790f536..bed221e72c056b2883469845ff9f8ba7b3fadb8e 100644 (file)
@@ -965,7 +965,7 @@ public:
       value.push_back(bp);
     return r;
   }
-  virtual int getattrs(coll_t cid, const ghobject_t& oid, map<string,bufferptr>& aset, bool user_only = false) {return 0;};
+  virtual int getattrs(coll_t cid, const ghobject_t& oid, map<string,bufferptr>& aset, bool user_only = false) = 0;
   int getattrs(coll_t cid, const ghobject_t& oid, map<string,bufferlist>& aset, bool user_only = false) {
     map<string,bufferptr> bmap;
     int r = getattrs(cid, oid, bmap, user_only);