From: Mark Huang Date: Sun, 21 Aug 2005 00:10:58 +0000 (+0000) Subject: - sync fedora branch X-Git-Tag: before-fedora-2_6_18-1_2239_FC5-vs2_0_2_2-rc6-merge~101 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3bc31f933183763e383c169e280e380837870218;p=linux-2.6.git - sync fedora branch --- 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);