diff --git a/[refs] b/[refs] index 543dea13a62c..50418058b9cc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 92ba0ee2770ed4954e3f8ba412ef2f37e5519477 +refs/heads/master: 944be0b224724fcbf63c3a3fe3a5478c325a6547 diff --git a/trunk/kernel/exit.c b/trunk/kernel/exit.c index bc71fdfcd8a7..14f17033f563 100644 --- a/trunk/kernel/exit.c +++ b/trunk/kernel/exit.c @@ -430,8 +430,10 @@ static void close_files(struct files_struct * files) while (set) { if (set & 1) { struct file * file = xchg(&fdt->fd[i], NULL); - if (file) + if (file) { filp_close(file, files); + cond_resched(); + } } i++; set >>= 1;