summaryrefslogtreecommitdiff
path: root/src/mongo/db/introspect.cpp
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2019-04-12 13:27:54 -0400
committerGeert Bosch <geert@mongodb.com>2019-04-15 11:24:05 -0400
commit688948927bedd25c4c5c50bc7e6a253feeec4e25 (patch)
treec1beee18d1d6acf197455542a0328f0190f8dc70 /src/mongo/db/introspect.cpp
parent03171bed9efdf0d25054fcddd936ad04db53f4aa (diff)
downloadmongo-688948927bedd25c4c5c50bc7e6a253feeec4e25.tar.gz
SERVER-40604 Make CollectionLock interruptible
Diffstat (limited to 'src/mongo/db/introspect.cpp')
-rw-r--r--src/mongo/db/introspect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/introspect.cpp b/src/mongo/db/introspect.cpp
index bff47300a08..02823701286 100644
--- a/src/mongo/db/introspect.cpp
+++ b/src/mongo/db/introspect.cpp
@@ -153,7 +153,7 @@ void profile(OperationContext* opCtx, NetworkOp op) {
break;
}
- Lock::CollectionLock collLock(opCtx->lockState(), db->getProfilingNS(), MODE_IX);
+ Lock::CollectionLock collLock(opCtx, db->getProfilingNS(), MODE_IX);
Collection* const coll = db->getCollection(opCtx, db->getProfilingNS());
if (coll) {