summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/shutdown.h
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-11-12 11:18:32 -0500
committerEric Milkie <milkie@10gen.com>2014-11-12 13:29:17 -0500
commite1c58c47536d0eb430878ddefc47ccdb332ddd23 (patch)
tree6acce535ef13c5f096e059129bfa1db7f8d0bca9 /src/mongo/db/commands/shutdown.h
parent9bfb7c3a805fb6151254389992548d22d08eed8c (diff)
downloadmongo-e1c58c47536d0eb430878ddefc47ccdb332ddd23.tar.gz
SERVER-16105 do not hold any locks when exiting via shutdown command
Diffstat (limited to 'src/mongo/db/commands/shutdown.h')
-rw-r--r--src/mongo/db/commands/shutdown.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/shutdown.h b/src/mongo/db/commands/shutdown.h
index 2a102971e57..b041eb78449 100644
--- a/src/mongo/db/commands/shutdown.h
+++ b/src/mongo/db/commands/shutdown.h
@@ -56,7 +56,7 @@ namespace mongo {
BSONObjBuilder& result,
bool fromRepl);
private:
- static bool shutdownHelper(OperationContext* txn);
+ static void shutdownHelper();
};
} // namespace mongo