Browse Source

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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
master
Andrew Morton 8 years ago
committed by Linus Torvalds
parent
commit
be49b30a98
  1. 3
      fs/file_table.c

3
fs/file_table.c

@ -311,8 +311,7 @@ void fput(struct file *file)
return;
/*
* After this task has run exit_task_work(),
* task_work_add() will fail. free_ipc_ns()->
* shm_destroy() can do this. Fall through to delayed
* task_work_add() will fail. Fall through to delayed
* fput to avoid leaking *file.
*/
}

Loading…
Cancel
Save