]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Thread.cc: deglobalize
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 21 Jun 2011 00:12:01 +0000 (17:12 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 21 Jun 2011 18:40:20 +0000 (11:40 -0700)
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/common/Thread.cc

index 308d514b3a87ce1ee10ad1f2eec9fe4638e653d5..36ac9e2f29ab548285267aba2954a09e52e3d451 100644 (file)
@@ -59,8 +59,6 @@ get_num_threads(void)
   DIR *dir = opendir(oss.str().c_str());
   if (!dir) {
     int err = errno;
-    generic_dout(-1) << "is_multithreaded: failed to open '"
-       << oss.str() << "'" << dendl;
     return -err;
   }
   int num_entries = 0;
@@ -76,8 +74,6 @@ get_num_threads(void)
   ::closedir(dir);
   if (num_entries == 0) {
     // Shouldn't happen.
-    generic_dout(-1) << "is_multithreaded: no entries found in '"
-       << oss.str() << "'" << dendl;
     return -EINVAL;
   }
   return num_entries;