mirror of
https://github.com/ceph/ceph
synced 2024-12-17 08:57:28 +00:00
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:
commit
f1b1e94494
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user