]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
filestore: some cleanup
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 26 Oct 2010 18:05:55 +0000 (11:05 -0700)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 26 Oct 2010 18:06:12 +0000 (11:06 -0700)
src/os/FileStore.cc

index 35ee26494b69fc38688d8890772dceeb329df5eb..39de599231425e8454415af6aafb4f38bc9dfcab 100644 (file)
@@ -165,7 +165,7 @@ static int translate_raw_name(const char *raw_name, char *name, int name_len, bo
 {
   int pos = 0;
 
-  generic_dout(0) << "translate_raw_name raw_name=" << raw_name << dendl;
+  generic_dout(10) << "translate_raw_name raw_name=" << raw_name << dendl;
   const char *n = name;
 
   *is_first = true;
@@ -192,7 +192,7 @@ static int translate_raw_name(const char *raw_name, char *name, int name_len, bo
   }
 done:
   *name = '\0';
-  generic_dout(0) << "translate_raw_name name=" << n << dendl;
+  generic_dout(10) << "translate_raw_name name=" << n << dendl;
   return pos;
 }
 
@@ -337,7 +337,6 @@ int do_listxattr(const char *fn, char *names, size_t len) {
     bool is_first;
     int name_len = translate_raw_name(p, name, sizeof(name), &is_first);
     if (is_first)  {
-      generic_dout(0) << "dest+name_len=" << (void *)(dest+name_len) << " dest_end=" << (void *)dest_end << dendl;
       if (dest + name_len > dest_end) {
         r = -ERANGE;
         goto done;