diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -783,7 +783,7 @@ static void flush_old_files(struct files_struct * files) | |||
783 | j++; | 783 | j++; |
784 | i = j * __NFDBITS; | 784 | i = j * __NFDBITS; |
785 | fdt = files_fdtable(files); | 785 | fdt = files_fdtable(files); |
786 | if (i >= fdt->max_fds || i >= fdt->max_fdset) | 786 | if (i >= fdt->max_fds) |
787 | break; | 787 | break; |
788 | set = fdt->close_on_exec->fds_bits[j]; | 788 | set = fdt->close_on_exec->fds_bits[j]; |
789 | if (!set) | 789 | if (!set) |