summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osdc/ObjectCacher.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osdc/ObjectCacher.cc b/src/osdc/ObjectCacher.cc
index 6d8f018d6bd..1c670419557 100644
--- a/src/osdc/ObjectCacher.cc
+++ b/src/osdc/ObjectCacher.cc
@@ -1027,7 +1027,7 @@ void ObjectCacher::bh_write_scattered(list<BufferHead*>& blist)
if (bh->snapc.seq > snapc.seq)
snapc = bh->snapc;
if (bh->last_write > last_write)
- bh->last_write = bh->last_write;
+ last_write = bh->last_write;
}
C_WriteCommit *oncommit = new C_WriteCommit(this, ob->oloc.pool, ob->get_soid(), ranges);