int __close_fd(struct files_struct *files, unsigned fd)
{
	struct file *file;

	file = pick_file(files, fd);
	if (!file)
		return -EBADF;

	return filp_close(file, files);
}
int __close_fd(struct files_struct *files, unsigned fd)
{
	struct file *file;

	file = pick_file(files, fd);
	if (!file)
		return -EBADF;

	return filp_close(file, files);
}