mirror of
https://github.com/ceph/ceph
synced 2025-03-06 08:20:12 +00:00
OSD::do_command: unlock pg only if we had it
Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
parent
841451f2fe
commit
2472034c4f
@ -2397,8 +2397,8 @@ void OSD::do_command(Connection *con, tid_t tid, vector<string>& cmd, bufferlist
|
||||
} else {
|
||||
cmd.erase(cmd.begin(), cmd.begin() + 2);
|
||||
r = pg->do_command(cmd, ss, data, odata);
|
||||
pg->unlock();
|
||||
}
|
||||
pg->unlock();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user