The inode must be write locked. Dunno how that could work before.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user