]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common: Fix some missing includes, copyrights
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 22 Feb 2011 19:23:31 +0000 (11:23 -0800)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 23 Feb 2011 18:17:30 +0000 (10:17 -0800)
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/auth/AuthAuthorizeHandler.cc
src/auth/AuthSupported.cc
src/auth/Crypto.cc
src/auth/KeyRing.cc
src/auth/RotatingKeyRing.cc
src/auth/cephx/CephxProtocol.cc
src/auth/none/AuthNoneAuthorizeHandler.cc
src/client/Trace.cc
src/common/ClassLibrary.cc
src/common/buffer.cc
src/osd/OSDCaps.cc

index 3c3bd3cd608e487de96ee4b90c751fbacd3a5480..83a5557368693227b0b6c273d0a1a06b7302b575 100644 (file)
@@ -1,8 +1,24 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
+/*
+ * Ceph - scalable distributed file system
+ *
+ * Copyright (C) 2009-2011 New Dream Network
+ *
+ * This is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software
+ * Foundation.  See file COPYING.
+ *
+ */
+
 #include "Auth.h"
 #include "AuthAuthorizeHandler.h"
 #include "cephx/CephxAuthorizeHandler.h"
 #include "none/AuthNoneAuthorizeHandler.h"
 #include "AuthSupported.h"
+#include "common/debug.h"
+#include "common/Mutex.h"
 
 static bool _initialized = false;
 static Mutex _lock("auth_service_handler_init");
index 91b70bd7cb6e8142497d17c9f8f6d206cbdb03f9..dc14972ca1462c11a9ff26d6b2a9f149d18edf22 100644 (file)
@@ -13,8 +13,9 @@
  */
 
 #include "common/Mutex.h"
-#include "include/str_list.h"
 #include "common/config.h"
+#include "common/debug.h"
+#include "include/str_list.h"
 
 #define DOUT_SUBSYS auth
 
index 466f7b760572760b286174fec25fd089ce5b61a0..1bca73d32e94406a9c516562ada8664f772c988b 100644 (file)
@@ -18,6 +18,7 @@
 
 #include "include/ceph_fs.h"
 #include "common/config.h"
+#include "common/debug.h"
 #include "common/armor.h"
 #include "common/Clock.h"
 #include "common/hex.h"
index c42dea577a4600f1e2ed1d34ab411ba14430e214..1ea1d988fc2d54dff3f763839b8126d1ce76d2c0 100644 (file)
@@ -16,6 +16,7 @@
 #include <map>
 
 #include "common/config.h"
+#include "common/debug.h"
 #include "include/str_list.h"
 #include "common/ConfUtils.h"
 
index fa484a2c2f1edeaa619564142b4211bb50662f7f..a96fc5618e48be633e71d10ba0b7ac0ab29f9c50 100644 (file)
@@ -2,6 +2,7 @@
 #include <map>
 
 #include "common/config.h"
+#include "common/debug.h"
 #include "include/str_list.h"
 
 #include "Crypto.h"
index 696174e977d972fa09102bed90cf6cc180bdf1ad..57984397feb80864bee8cd150b44e1d6f463e3fd 100644 (file)
@@ -1,8 +1,21 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
+/*
+ * Ceph - scalable distributed file system
+ *
+ * Copyright (C) 2009-2011 New Dream Network
+ *
+ * This is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software
+ * Foundation.  See file COPYING.
+ *
+ */
 
 #include "CephxProtocol.h"
 #include "common/Clock.h"
-
 #include "common/config.h"
+#include "common/debug.h"
 
 #define DOUT_SUBSYS auth
 #undef dout_prefix
index 0848e9fed5843904eb187451403d38257fc64fb8..b965049a1115cf12d7d511b9dd2923ae07ae306e 100644 (file)
@@ -1,7 +1,19 @@
-
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
+/*
+ * Ceph - scalable distributed file system
+ *
+ * Copyright (C) 2009-2011 New Dream Network
+ *
+ * This is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software
+ * Foundation.  See file COPYING.
+ *
+ */
 
 #include "AuthNoneAuthorizeHandler.h"
-
+#include "common/debug.h"
 
 bool AuthNoneAuthorizeHandler::verify_authorizer(KeyStore *keys,
                                                 bufferlist& authorizer_data, bufferlist& authorizer_reply,
index d425320aeb59ffb25bfd0da413ec2efa3dc0f946..20d4ce0dfc79be52f9d3a58f406c510ee7580aa9 100644 (file)
@@ -15,6 +15,7 @@
 
 
 #include "Trace.h"
+#include "common/debug.h"
 
 #include <iostream>
 #include <map>
index 2cea0a127b9dc1c7cbf037ac1d938329794b12a4..119f6543935c5bbc03b8d1513e5167d67a8e1c64 100644 (file)
@@ -1,5 +1,19 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
+/*
+ * Ceph - scalable distributed file system
+ *
+ * Copyright (C) 2009-2011 New Dream Network
+ *
+ * This is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software
+ * Foundation.  See file COPYING.
+ *
+ */
 
 #include "common/ClassVersion.h"
+#include "common/debug.h"
 #include "include/ClassLibrary.h"
 
 #include "common/config.h"
index 950527cff23dec18e9135afdb820a50fe69aed95..73edf8b96a1081551b71326ccd25672eb55777ea 100644 (file)
@@ -14,6 +14,7 @@
 
 
 #include "armor.h"
+#include "common/debug.h"
 #include "common/errno.h"
 #include "common/safe_io.h"
 #include "common/config.h"
index fda0872473c2535a5d027d68ffec06efe5116730..cd43d9103edebfb4b7b5c93fe2eac8b5d582ad1b 100644 (file)
@@ -1,9 +1,20 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab
+/*
+ * Ceph - scalable distributed file system
+ *
+ * Copyright (C) 2009-2011 New Dream Network
+ *
+ * This is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software
+ * Foundation.  See file COPYING.
+ *
+ */
 
 #include "OSDCaps.h"
-
 #include "common/config.h"
-
-
+#include "common/debug.h"
 
 void PoolsMap::dump()
 {