diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 03e64fe4a14a..5f77e76b4f97 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -425,7 +425,7 @@ static void close_files(struct files_struct * files) | |||
425 | for (;;) { | 425 | for (;;) { |
426 | unsigned long set; | 426 | unsigned long set; |
427 | i = j * __NFDBITS; | 427 | i = j * __NFDBITS; |
428 | if (i >= fdt->max_fdset || i >= fdt->max_fds) | 428 | if (i >= fdt->max_fds) |
429 | break; | 429 | break; |
430 | set = fdt->open_fds->fds_bits[j++]; | 430 | set = fdt->open_fds->fds_bits[j++]; |
431 | while (set) { | 431 | while (set) { |