packagefs: Acquire some more write locks to fix assertion failures.

This commit is contained in:
Augustin Cavalier
2024-09-11 15:20:35 -04:00
parent dfb09e12b1
commit 088e0628c2
2 changed files with 3 additions and 0 deletions
@@ -94,6 +94,7 @@ packagefs_unmount(fs_volume* fsVolume)
FUNCTION("volume: %p\n", volume);
volume->WriteLock();
volume->Unmount();
delete volume;
@@ -1775,6 +1775,8 @@ Volume::_CreateShineThroughDirectories(const char* shineThroughSetting)
status_t
Volume::_PublishShineThroughDirectories()
{
NodeWriteLocker rootDirectoryWriteLocker(fRootDirectory);
// Iterate through the root directory children and bind the shine-through
// directories to the respective mount point subdirectories.
Node* nextNode;