From 3a3c099c5e713bc7d06ef8c9e4ee79ebda460224 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Wed, 30 Sep 2009 09:55:18 -0700 Subject: [PATCH] libceph: Actually implement ceph_get_local_osd so that libhadoop works! --- src/client/libceph.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/libceph.cc b/src/client/libceph.cc index b30fbf3d2a2e1..f298129f3f43b 100644 --- a/src/client/libceph.cc +++ b/src/client/libceph.cc @@ -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; -- 2.39.5