rem: if (get_module(moduleName, (module_info**)&module) == B_OK) { if (module->identify(deviceFD, partitionInfo)) {
add: TRACE(("disk_scanner: trying fs module: `%s'\n", moduleName)); if (get_module(moduleName, (module_info**)&module) == B_OK && module) { if (module->identify(deviceFD, partitionInfo))
context: disk_scanner_get_partition_fs_info(int deviceFD,							   extended_partition_info *partitionInfo){	// Iterate through the list of FS modules and return the result of the	// first one that thinks, it is the right one.	status_t error = (partitionInfo ? B_OK : B_BAD_VALUE);	void *list = NULL;	TRACE(("disk_scanner: get_partition_fs_info(%d, %lld, %lld, %ld)\n", deviceFD,		   partitionInfo->info.offset, partitionInfo->info.size,		   partitionInfo->info.logical_block_size));	if (error == B_OK && ((list = open_module_list(kFSModulePrefix)))) {		char moduleName[B_PATH_NAME_LENGTH];		size_t bufferSize = sizeof(moduleName);		error = B_ENTRY_NOT_FOUND;		while (read_next_module_name(list, moduleName, &bufferSize)			   == B_OK) {			fs_module_info *module = NULL;			if (get_module(moduleName, (module_info**)&module) == B_OK) {				if (module->identify(deviceFD, partitionInfo)) {					error = B_OK;					break;				}				put_module(moduleName);			}		}		close_module_list(list);	}	return error;}