Commit be49b30a authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

fs/file_table.c:fput(): make comment more truthful

Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Andrey Vagin <avagin@openvz.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 65aafb1e
...@@ -311,8 +311,7 @@ void fput(struct file *file) ...@@ -311,8 +311,7 @@ void fput(struct file *file)
return; return;
/* /*
* After this task has run exit_task_work(), * After this task has run exit_task_work(),
* task_work_add() will fail. free_ipc_ns()-> * task_work_add() will fail. Fall through to delayed
* shm_destroy() can do this. Fall through to delayed
* fput to avoid leaking *file. * fput to avoid leaking *file.
*/ */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment