diff options
author | Samuel Just <sam.just@inktank.com> | 2013-03-05 14:35:39 -0800 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-03-13 18:14:43 -0700 |
commit | e4bf1bcab159d7c5b720f5da01877c0f67c16d16 (patch) | |
tree | 0b3fedad17b680e9579211d91b7abeefe22f2a11 /src/osd/OSD.h | |
parent | 32bf131e0141faf407b5ff993f75f97516b27c12 (diff) | |
download | ceph-e4bf1bcab159d7c5b720f5da01877c0f67c16d16.tar.gz |
OSD: lock not needed in ~DeletingState()
No further refs to the object can remain at this point.
Furthermore, the callbacks might lock mutexes of their
own.
Backport: bobtail
Fixes: #4378
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
Diffstat (limited to 'src/osd/OSD.h')
-rw-r--r-- | src/osd/OSD.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osd/OSD.h b/src/osd/OSD.h index 500944e2f47..23d2537b745 100644 --- a/src/osd/OSD.h +++ b/src/osd/OSD.h @@ -150,7 +150,6 @@ public: on_deletion_complete.push_front(completion); } ~DeletingState() { - Mutex::Locker l(lock); for (list<Context *>::iterator i = on_deletion_complete.begin(); i != on_deletion_complete.end(); ++i) { |