From 3bc31f933183763e383c169e280e380837870218 Mon Sep 17 00:00:00 2001 From: Mark Huang Date: Sun, 21 Aug 2005 00:10:58 +0000 Subject: [PATCH] - sync fedora branch --- kernel/exit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/exit.c b/kernel/exit.c index 4a07c6df1..8d8327074 100644 --- a/kernel/exit.c +++ b/kernel/exit.c @@ -386,7 +386,7 @@ static inline void close_files(struct files_struct * files) while (set) { if (set & 1) { struct file * file = xchg(&files->fd[i], NULL); - if (file) + if (file) filp_close(file, files); vx_openfd_dec(i); } @@ -1420,7 +1420,6 @@ check_continued: flag = 1; if (!unlikely(options & WCONTINUED)) continue; - retval = wait_task_continued( p, (options & WNOWAIT), infop, stat_addr, ru); -- 2.47.0