]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/ceph_time: do not handle negative case
authorKefu Chai <kchai@redhat.com>
Sun, 29 Sep 2019 17:08:52 +0000 (01:08 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 30 Sep 2019 08:25:01 +0000 (16:25 +0800)
commit376335c93fad385f8040e1f95684ad7117346856
tree19e7f3ecfe57679277ccfc5e27891e941fe7e72d
parentdd96fdcc5f43ed456a6c23df083de7a53847c415
common/ceph_time: do not handle negative case

this change partially reverts 353a0e5f, unlike `signedspan`,
`timespan::rep` is unsigned. so no need to handle negative case.

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