diff --git a/src/add-ons/kernel/file_systems/bfs/Inode.cpp b/src/add-ons/kernel/file_systems/bfs/Inode.cpp index 4bbdb901c7..b693627039 100644 --- a/src/add-ons/kernel/file_systems/bfs/Inode.cpp +++ b/src/add-ons/kernel/file_systems/bfs/Inode.cpp @@ -1754,6 +1754,8 @@ Inode::_GrowStream(Transaction &transaction, off_t size) do { // do we need a new array block? if (array[indirectIndex % runsPerBlock].IsZero()) { + cached.MakeWritable(transaction); + status = _AllocateBlockArray(transaction, array[indirectIndex % runsPerBlock]); if (status < B_OK)