]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
filestore, osd: Fixes to comform to programming guidelines
authorDavid Zafman <david.zafman@inktank.com>
Thu, 4 Apr 2013 22:51:40 +0000 (15:51 -0700)
committerDavid Zafman <david.zafman@inktank.com>
Fri, 19 Apr 2013 18:29:17 +0000 (11:29 -0700)
Signed-off-by: David Zafman <david.zafman@inktank.com>
src/os/FileStore.cc
src/osd/PG.cc

index 5170412183e93328557096134636f2222e23680f..aa6416453e0d51460e0672c6001dc8165ff7a41f 100644 (file)
@@ -198,7 +198,8 @@ int FileStore::lfn_stat(coll_t cid, const hobject_t& oid, struct stat *buf)
 
 int FileStore::lfn_open(coll_t cid, const hobject_t& oid, int flags, mode_t mode,
                        IndexedPath *path,
-                       Index *index) {
+                       Index *index) 
+{
   Index index2;
   IndexedPath path2;
   if (!path)
index f21882966dab0fc25c90ea7543978b1302a87a85..095e207389789c4c90505c8dcf0d094eb8dc33bc 100644 (file)
@@ -39,7 +39,8 @@
 #define dout_subsys ceph_subsys_osd
 #undef dout_prefix
 #define dout_prefix _prefix(_dout, this)
-static ostream& _prefix(std::ostream *_dout, const PG *pg) {
+static ostream& _prefix(std::ostream *_dout, const PG *pg) 
+{
   return *_dout << pg->gen_prefix();
 }
 
@@ -3383,7 +3384,8 @@ void PG::scrub_unreserve_replicas()
   }
 }
 
-void PG::_scan_snaps(ScrubMap &smap) {
+void PG::_scan_snaps(ScrubMap &smap) 
+{
   for (map<hobject_t, ScrubMap::object>::iterator i = smap.objects.begin();
        i != smap.objects.end();
        ++i) {