if (fd >= files->max_fds) 
fdt = files_fdtable(files); if (fd >= fdt->max_fds) 
asmlinkage long sys_close(unsigned int fd){	struct file * filp;	struct files_struct *files = current->files;	spin_lock(&files->file_lock);	if (fd >= files->max_fds)		goto out_unlock;	filp = files->fd[fd];	if (!filp)		goto out_unlock;	files->fd[fd] = NULL;	FD_CLR(fd, files->close_on_exec);	__put_unused_fd(files, fd);	spin_unlock(&files->file_lock);	return filp_close(filp, files);out_unlock:	spin_unlock(&files->file_lock);	return -EBADF;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/badf16621c1f9d1ac753be056fce11b43d6e0be5/open.c/buggy/fs/open.c