commit | 45aeca74dc812f33a6617687fc7cb25a1cd2779b | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Apr 02 12:25:16 2014 -0600 |
committer | Jens Axboe <axboe@fb.com> | Wed Apr 02 12:25:16 2014 -0600 |
tree | cca80e1abe8e8d7633ed3975004a393b0110dd13 | |
parent | 632f415c8d67a1ade18834a0f56d95c508aaa8af [diff] |
Don't crash when using filehash lock before init We might be parsing and adding files (which locks the hash lock) before we have setup threads. For that case, don't bother locking, we're serialized at that point. Signed-off-by: Jens Axboe <axboe@fb.com>