diff --git a/src/add-ons/kernel/file_systems/bfs/BlockAllocator.cpp b/src/add-ons/kernel/file_systems/bfs/BlockAllocator.cpp index cdabf3d726..7b810b9f6e 100644 --- a/src/add-ons/kernel/file_systems/bfs/BlockAllocator.cpp +++ b/src/add-ons/kernel/file_systems/bfs/BlockAllocator.cpp @@ -474,6 +474,10 @@ BlockAllocator::Initialize(bool full) "bfs block allocator", B_LOW_PRIORITY, (void *)this); if (id < B_OK) return _Initialize(this); +#ifdef KDEBUG + else + fLock.holder = id; +#endif return resume_thread(id); }