kernel: doc: remove outdated comment cred.c

This removes an outdated comment in prepare_kernel_cred.

There is no "cred_replace_mutex" any more, so the comment must
go away.

Signed-off-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
Bernd Edlinger 2020-03-20 21:26:50 +01:00 committed by Eric W. Biederman
parent 8d09db80ef
commit aa884c1131
1 changed files with 0 additions and 2 deletions

View File

@ -675,8 +675,6 @@ void __init cred_init(void)
* The caller may change these controls afterwards if desired. * The caller may change these controls afterwards if desired.
* *
* Returns the new credentials or NULL if out of memory. * Returns the new credentials or NULL if out of memory.
*
* Does not take, and does not return holding current->cred_replace_mutex.
*/ */
struct cred *prepare_kernel_cred(struct task_struct *daemon) struct cred *prepare_kernel_cred(struct task_struct *daemon)
{ {