summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency/d_concurrency.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/concurrency/d_concurrency.cpp')
-rw-r--r--src/mongo/db/concurrency/d_concurrency.cpp9
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