diff --git a/src/add-ons/kernel/file_systems/bfs/Journal.cpp b/src/add-ons/kernel/file_systems/bfs/Journal.cpp index cf557ed8eb..44b8d46e68 100644 --- a/src/add-ons/kernel/file_systems/bfs/Journal.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Journal.cpp @@ -997,7 +997,12 @@ Journal::Unlock(Transaction* owner, bool success) if (status != B_OK) return status; + // Unlocking the inodes might trigger new transactions, but we + // cannot reuse the current one anymore, as this one is already + // closed. + fSeparateSubTransactions = true; fOwner->UnlockInodes(success); + fSeparateSubTransactions = false; } fTimestamp = system_time();