]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: be_compare_scrubmaps uses incorrect j iterator 3237/head
authorLoic Dachary <ldachary@redhat.com>
Mon, 22 Dec 2014 16:05:50 +0000 (17:05 +0100)
committerLoic Dachary <ldachary@redhat.com>
Mon, 22 Dec 2014 16:05:50 +0000 (17:05 +0100)
commit3f3f2fa1721db1169824777e2fd3da26fe4a95c8
treeddc68af5ef464c3727ae0ac5fe6f55b2c2c5727b
parent20a4c57c4bb4fcfae68469c60a60d71c0188148a
osd: be_compare_scrubmaps uses incorrect j iterator

The code moved from be_select_auth_object to be_compare_scrubmaps
74bd8708dfbfd3c8e7ba3f41d8534609dcbc1237 but the j iterator is use
differently although it has the same type. Use map.begin() as a
fallback instead.

http://tracker.ceph.com/issues/10408 Fixes: #10408

Signed-off-by: Loic Dachary <ldachary@dachary.org>
src/osd/PGBackend.cc