rem: while (KDiskDeviceJob *job = manager->NextJob(cookie)) {
add: while (KDiskDeviceJob *job = manager->NextJob(&cookie)) {
context: _kern_get_next_disk_device_job_info(int32 *cookie,									user_disk_device_job_info *info){	if (!cookie || !info)		return B_BAD_VALUE;	KDiskDeviceManager *manager = KDiskDeviceManager::Default();	if (ManagerLocker locker = manager) {		// get the next job and an info		while (KDiskDeviceJob *job = manager->NextJob(cookie)) {			// return info only on job scheduled or in progress			switch (job->Status()) {				case B_DISK_DEVICE_JOB_SCHEDULED:				case B_DISK_DEVICE_JOB_IN_PROGRESS:					return job->GetInfo(info);				case B_DISK_DEVICE_JOB_UNINITIALIZED:				case B_DISK_DEVICE_JOB_SUCCEEDED:				case B_DISK_DEVICE_JOB_FAILED:				case B_DISK_DEVICE_JOB_CANCELED:					break;			}		}	}	return B_ENTRY_NOT_FOUND;}