if (nr >= fdt->max_fdset) { 
if (nr >= fdt->max_fdset || nr >= fdt->max_fds) { if (fdt->max_fdset >= NR_OPEN || fdt->max_fds >= NR_OPEN || nr >= NR_OPEN) { err = -EMFILE; goto out; } 
int expand_files(struct files_struct *files, int nr){	int err, expand = 0;	struct fdtable *fdt;	fdt = files_fdtable(files);	if (nr >= fdt->max_fdset) {		expand = 1;		if ((err = expand_fdset(files, nr)))			goto out;	}	if (nr >= fdt->max_fds) {		expand = 1;		if ((err = expand_fd_array(files, nr)))			goto out;	}	err = expand;out:	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ab2af1f5005069321c5d130f09cce577b03f43ef/file.c/clean/fs/file.c