osd: fix indentation

Signed-off-by: lishuhao <lishuhao@unitedstack.com>
This commit is contained in:
letterwuyu 2019-05-05 15:35:45 +08:00
parent 2e935df15c
commit 7b581ed9ad
2 changed files with 5 additions and 5 deletions

View 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();
}

View 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