]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/buffer: correct list_iterator::operator!= behavior
authorJason Dillaman <dillaman@redhat.com>
Wed, 10 Feb 2016 18:25:03 +0000 (13:25 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 3 Mar 2016 21:43:40 +0000 (16:43 -0500)
commitd0e3da2ee0967f50ab731b11efaedab87db0c13f
treeddadc94381cfbf830a9d406df2cd20f4195a42b5
parent0357d875921e2efabbe4788e3c2c2680773b0b37
common/buffer: correct list_iterator::operator!= behavior

It was actually behaving as if it were operator==.  This results
in loops running off the end of empty bufferlists.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/common/buffer.cc