]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix indentation
authorletterwuyu <lishuhao@unitedstack.com>
Sun, 5 May 2019 07:35:45 +0000 (15:35 +0800)
committerletterwuyu <lishuhao@unitedstack.com>
Mon, 6 May 2019 12:17:43 +0000 (20:17 +0800)
Signed-off-by: lishuhao <lishuhao@unitedstack.com>
src/osd/ReplicatedBackend.h
src/osd/osd_types.h

index 6e89f8ca8755943504db78fdf3f5e3cdc962da36..1c05c498dbd3677f4e5928023d78fca579e38362 100644 (file)
@@ -337,8 +337,8 @@ private:
       ceph_tid_t tid, Context *on_commit,
       OpRequestRef op, eversion_t v)
       : RefCountedObject(nullptr, 0),
-      tid(tid), on_commit(on_commit),
-       op(op), v(v) {}
+        tid(tid), on_commit(on_commit),
+        op(op), v(v) {}
     bool done() const {
       return waiting_for_commit.empty();
     }
index f115b2f8da0298983271c196fdafc7773ac7115b..51f91c6d6b6b62722b92e4b17ef3c0ded3e5ec74 100644 (file)
@@ -4451,10 +4451,10 @@ public:
     if (e.prior_version == eversion_t() || e.is_clone()) {
       // new object.
       if (is_missing_divergent_item) {  // use iterator
-             rmissing.erase((missing_it->second).need.version);
+        rmissing.erase((missing_it->second).need.version);
         // .have = nil
-       missing_it->second = item(e.version, eversion_t(), e.is_delete());
-       missing_it->second.clean_regions.mark_fully_dirty();
+        missing_it->second = item(e.version, eversion_t(), e.is_delete());
+        missing_it->second.clean_regions.mark_fully_dirty();
       } else {
          // create new element in missing map
          // .have = nil