add: gPartitions.Remove(partition);
context: get_boot_file_system(stage2_args *args){	Node *device;	if (platform_get_boot_device(args, &device) < B_OK)		return NULL;	// add the boot device to the list of devices	gBootDevices.Add(device);	if (add_partitions_for(device, false) < B_OK)		return NULL;	Partition *partition;	if (platform_get_boot_partition(args, device, &gPartitions, &partition) < B_OK)		return NULL;	Directory *fileSystem;	status_t status = partition->Mount(&fileSystem);		if (status < B_OK) {		// this partition doesn't contain any known file system; we		// don't need it anymore		delete partition;		return NULL;	}	sBootDevice = device;	return fileSystem;}