]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG: add assert to snapset.clones search
authorSamuel Just <sam.just@inktank.com>
Tue, 25 Sep 2012 20:54:12 +0000 (13:54 -0700)
committerSamuel Just <sam.just@inktank.com>
Tue, 25 Sep 2012 21:09:32 +0000 (14:09 -0700)
commit4f621a1a1f1b6c9f3534cc6a9790a36d46cec212
treed3b07e2db363f6a82e156285e6e36900e7f4200a
parent10e1ac7bb9f94458a0242bd7a0d6e314d306ace6
ReplicatedPG: add assert to snapset.clones search

CID 716943: Using invalid iterator (INVALIDATE_ITERATOR)At (27): Dereferencing
iterator "p" though it is already past the end of its container.

The assert ensures that p will not be dereferenced if invalid.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.cc