Skip to content

Commit aa884c1

Browse files
bernd-edlingerebiederm
authored andcommitted
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 <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Eric W. Biederman <[email protected]>
1 parent 8d09db8 commit aa884c1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/cred.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,8 +675,6 @@ void __init cred_init(void)
675675
* The caller may change these controls afterwards if desired.
676676
*
677677
* Returns the new credentials or NULL if out of memory.
678-
*
679-
* Does not take, and does not return holding current->cred_replace_mutex.
680678
*/
681679
struct cred *prepare_kernel_cred(struct task_struct *daemon)
682680
{

0 commit comments

Comments
 (0)