Merge pull request #16780 from amitkumar50/cov-1414521

libradosstriper: Initialize member variable m_writeRc in WriteCompletionData

Reviewed-by: Jos Collin <jcollin@redhat.com>
This commit is contained in:
Jos Collin 2017-08-06 09:05:34 +00:00 committed by GitHub
commit f1b1e94494

View File

@ -274,7 +274,7 @@ WriteCompletionData::WriteCompletionData
librados::AioCompletionImpl *userCompletion,
int n) :
CompletionData(striper, soid, lockCookie, userCompletion, n), m_safe(0),
m_unlockCompletion(0) {
m_unlockCompletion(0), m_writeRc(0) {
if (userCompletion) {
m_safe = new librados::IoCtxImpl::C_aio_Complete(userCompletion);
}