rem: descriptor = get_fd(get_current_io_context(false), fd);
add: descriptor = get_fd(get_current_io_context(true), fd);
context: sys_read_dir(int fd, struct dirent *buffer,size_t bufferSize,uint32 maxCount){	struct file_descriptor *descriptor;	ssize_t retval;	PRINT(("sys_read_dir(fd = %d, buffer = 0x%p, bufferSize = %ld, count = %u)\n",fd,buffer,bufferSize,maxCount));	descriptor = get_fd(get_current_io_context(false), fd);	if (descriptor == NULL)		return EBADF;	if (descriptor->ops->fd_read_dir) {		uint32 count = maxCount;		retval = descriptor->ops->fd_read_dir(descriptor,buffer,bufferSize,&count);		if (retval >= 0)			retval = count;	} else		retval = EOPNOTSUPP;	put_fd(descriptor);	return retval;}