]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
libceph: Actually implement ceph_get_local_osd so that libhadoop works!
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 30 Sep 2009 16:55:18 +0000 (09:55 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Fri, 2 Oct 2009 22:22:09 +0000 (15:22 -0700)
src/client/libceph.cc

index b30fbf3d2a2e16b6b905d293765c653546912b09..f298129f3f43b9e765f270a457d418991068db99 100644 (file)
@@ -108,6 +108,11 @@ extern "C" int ceph_statfs(const char *path, struct statvfs *stbuf)
   return client->statfs(path, stbuf);
 }
 
+extern "C" int ceph_get_local_osd()
+{
+  return client->get_local_osd();
+}
+
 extern "C" int ceph_getcwd(char *buf, int buflen)
 {
   string cwd;