Skip to contentSkip to conversation

New Defects reported by Coverity Scan for ceph

DISCUSSION [email protected] 1 participant 1 message Sep 28, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

Please find the latest report on new defect(s) introduced to ceph found with Coverity Scan.

Defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)

** CID 1230671: Missing unlock (LOCK) /msg/SimpleMessenger.cc: 258 in SimpleMessenger::reaper()()

________________________________________________________________________________________________________
*** CID 1230671: Missing unlock (LOCK) /msg/SimpleMessenger.cc: 258 in SimpleMessenger::reaper()()
252 ::close(p->sd);

253         ldout(cct,10) << "reaper reaped pipe " << p << " " << p->get_peer_addr() << dendl;
254         p->put();
255         ldout(cct,10) << "reaper deleted pipe " << p << dendl;

256 }
257 ldout(cct,10) << "reaper done" << dendl;

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
    CID 1230671:  Missing unlock  (LOCK)
    Returning without unlocking "this->lock._m".

258 }
259
260 void SimpleMessenger::queue_reap(Pipe *pipe)
261 {
262 ldout(cct,10) << "queue_reap " << pipe << dendl;
263 lock.Lock();

________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, http://scan.coverity.com/projects/25?tab=overview

To unsubscribe from the email notification for new defects, http://scan5.coverity.com/cgi-bin/unsubscribe.py