Index: source/lib/file/vfs/vfs_populate.cpp =================================================================== --- source/lib/file/vfs/vfs_populate.cpp +++ source/lib/file/vfs/vfs_populate.cpp @@ -169,7 +169,7 @@ Status vfs_Attach(VfsDirectory* directory, const PRealDirectory& realDirectory) { - RETURN_STATUS_IF_ERR(vfs_Populate(directory)); directory->SetAssociatedDirectory(realDirectory); + RETURN_STATUS_IF_ERR(vfs_Populate(directory)); return INFO::OK; }