author: Eric W. Biederman <ebiederm@xmission.com> 2021-10-16 12:17:30 -0500
committer: Eric W. Biederman <ebiederm@xmission.com> 2021-10-20 10:34:20 -0500
commit: 5ebcbe342b1c12fae44b4f83cbeae1520e09857e
parent: 34dc2fd6e6908499b669c7b45320cddf38b332e1
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 2 deletions
diff --git a/kernel/cred.c b/kernel/cred.c
index 16c05dfbec4d..1ae0b4948a5a 100644
--- a/kernel/cred.c
+++ b/kernel/cred.c
@@ -225,8 +225,6 @@ struct cred *cred_alloc_blank(void)
#ifdef CONFIG_DEBUG_CREDENTIALS
new->magic = CRED_MAGIC;
#endif
- new->ucounts = get_ucounts(&init_ucounts);
-
if (security_cred_alloc_blank(new, GFP_KERNEL_ACCOUNT) < 0)
goto error;