]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/kstore: fix collection_list properly set next if end reached
authorMykola Golub <mgolub@suse.com>
Wed, 19 Aug 2020 10:16:12 +0000 (11:16 +0100)
committerMykola Golub <mgolub@suse.com>
Wed, 9 Sep 2020 09:26:38 +0000 (12:26 +0300)
commit02b4c7139e6254b5cc9ed3abc993a8e8aa0300fa
tree21c1253c7ae448604909df484665f8741a93ae3d
parentb3f3a4030fe3541ce85244f88f8f258a9815e1ba
os/kstore: fix collection_list properly set next if end reached

Previously it was setting it to GMAX (happened when one had end
set to not GMAX and max set to INT_MAX).

Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 2a67fc5e4cf37912b568ad3046f290023d06eb90)
src/os/kstore/KStore.cc