]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: fix uninitialized data members on SHEC 3706/head
authorLoic Dachary <ldachary@redhat.com>
Wed, 11 Feb 2015 20:46:02 +0000 (21:46 +0100)
committerLoic Dachary <ldachary@redhat.com>
Wed, 11 Feb 2015 21:44:49 +0000 (22:44 +0100)
commit1a9d717d1661e1e9c9eda3749b7d9c8882a995d2
treefe254d92c07275c6ffbebb60231b72a54e37707c
parentefccb758cb9d8dfb8b7bff9760b2bb0ae3330330
erasure-code: fix uninitialized data members on SHEC

Also fix the tests that verify the result when init is not called and
factorize the two tests that were almost identical for simplicity.

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

Backport: hammer
Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/erasure-code/shec/ErasureCodeShec.h
src/test/erasure-code/TestErasureCodeShec.cc