From 614f1653ee8053507825997d6e12af0fc8353e7d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 7 Jan 2016 13:03:59 -0500 Subject: [PATCH] ceph-objectstore-tool: 'whoami' is not required for an ObjectStore OSD creates it, but it won't be there if we did --op mkfs Signed-off-by: Sage Weil --- src/tools/ceph_objectstore_tool.cc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/tools/ceph_objectstore_tool.cc b/src/tools/ceph_objectstore_tool.cc index b6a3fd8b59aa5..dd8a7470da355 100644 --- a/src/tools/ceph_objectstore_tool.cc +++ b/src/tools/ceph_objectstore_tool.cc @@ -2450,14 +2450,6 @@ int main(int argc, char **argv) if (!S_ISDIR(st.st_mode)) { invalid_filestore_path(dpath); } - string check = dpath + "/whoami"; - if (::stat(check.c_str(), &st) == -1) { - perror("whoami"); - invalid_filestore_path(dpath); - } - if (!S_ISREG(st.st_mode)) { - invalid_filestore_path(dpath); - } check = dpath + "/current"; if (::stat(check.c_str(), &st) == -1) { perror("current"); -- 2.39.5