mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 03:06:08 +01:00
The inode must be write locked. Dunno how that could work before.
This commit is contained in:
parent
7fef0374fe
commit
15f4dcd831
@ -2080,6 +2080,8 @@ BlockAllocator::_AddInodeToIndex(Inode* inode)
|
||||
if (index->inode == NULL)
|
||||
continue;
|
||||
|
||||
index->inode->WriteLockInTransaction(transaction);
|
||||
|
||||
BPlusTree* tree = index->inode->Tree();
|
||||
if (tree == NULL)
|
||||
return B_ERROR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user