+50
−9
+15
−11
Loading
mainline inclusion from mainline-v6.7-rc1 commit 41e845628511878d6e89e2a9249c095e72aab7eb category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8YQ5Q Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=41e845628511878d6e89e2a9249c095e72aab7eb -------------------------------- Some of the frequent consumers of get_cred and put_cred operate on 2 references on the same creds back-to-back. Switch them to doing the work in one go instead. Signed-off-by:Mateusz Guzik <mjguzik@gmail.com> [PM: removed changelog from commit description] Signed-off-by:
Paul Moore <paul@paul-moore.com> Signed-off-by:
Felix Fu <fuzhen5@huawei.com>