diff options
Diffstat (limited to 'src/mongo/db/concurrency/d_concurrency.cpp')
-rw-r--r-- | src/mongo/db/concurrency/d_concurrency.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/concurrency/d_concurrency.cpp b/src/mongo/db/concurrency/d_concurrency.cpp index 5e4b051178d..77458fa1882 100644 --- a/src/mongo/db/concurrency/d_concurrency.cpp +++ b/src/mongo/db/concurrency/d_concurrency.cpp @@ -272,15 +272,6 @@ Lock::CollectionLock::~CollectionLock() { } } -void Lock::CollectionLock::relockAsDatabaseExclusive(Lock::DBLock& dbLock) { - _lockState->unlock(_id); - - dbLock.relockWithMode(MODE_X); - - // don't need the lock, but need something to unlock in the destructor - _lockState->lock(_id, MODE_IX); -} - namespace { stdx::mutex oplogSerialization; // for OplogIntentWriteLock } // namespace |