]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: more constness 28786/head
authorKefu Chai <kchai@redhat.com>
Sat, 29 Jun 2019 06:30:16 +0000 (14:30 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 29 Jun 2019 06:32:08 +0000 (14:32 +0800)
commit85478ea1112819fd80c1d2a17d20f316a466c56d
tree7767696104f673264e30e8650518ffc9ba4942be
parentc404a30f5b6d477dd40eed20e0dc42f27764830c
osd/PrimaryLogPG: more constness

use `hobject_t::get_head()` instead of relying on the fact that head
object's snap is `CEPH_NOSNAP`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/PrimaryLogPG.cc