aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 3d320003cc03..97f609f574b1 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -507,8 +507,9 @@ void put_files_struct(struct files_struct *files)
507 } 507 }
508} 508}
509 509
510void reset_files_struct(struct task_struct *tsk, struct files_struct *files) 510void reset_files_struct(struct files_struct *files)
511{ 511{
512 struct task_struct *tsk = current;
512 struct files_struct *old; 513 struct files_struct *old;
513 514
514 old = tsk->files; 515 old = tsk->files;