Skip to content
Commit 49dffdfd authored by Vinicius Costa Gomes's avatar Vinicius Costa Gomes Committed by Amir Goldstein
Browse files

cred: Add a light version of override/revert_creds()



Add a light version of override/revert_creds(), this should only be
used when the credentials in question will outlive the critical
section and the critical section doesn't change the ->usage of the
credentials.

Suggested-by: default avatarChristian Brauner <brauner@kernel.org>
Signed-off-by: default avatarVinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
parent 48b50624
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment