]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cls/fifo: Use spaceship operator to implement comparisons
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 30 Nov 2022 21:18:31 +0000 (16:18 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 9 Jan 2023 18:23:44 +0000 (13:23 -0500)
commit9e67a437a37f82e8191777bce659905b66b8e88e
tree8e09afaae4ff348ec911f8cab747c932fa9b5c87
parentf89a6d1833f45220ce558919de656f99cd1c9342
cls/fifo: Use spaceship operator to implement comparisons

Except for the version type, where only versions with the same tag are
comparable.

Fixes: https://tracker.ceph.com/issues/57562
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/cls/fifo/cls_fifo_types.h