mirror of
https://github.com/ceph/ceph
synced 2025-01-31 07:22:56 +00:00
osd/OSD.h: add missing unlock of osd_lock
CID 1019560 Missing unlock (CWE-667) Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
b097f65627
commit
f56cb98482
@ -1233,6 +1233,7 @@ protected:
|
||||
void _process(Command *c) {
|
||||
osd->osd_lock.Lock();
|
||||
if (osd->is_stopping()) {
|
||||
osd->osd_lock.Unlock();
|
||||
delete c;
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user