mongodb/mongo — pull request #855 by esmet (2014-11-03 17:01:29+00:00)
Title: SERVER-15921 Check if we have a lock state before taking any locks in...

...the kv catalog. The assumption is that no lock state means we are in an
inherently single-threaded code block (like startup).

https://jira.mongodb.org/browse/SERVER-15921