Skip to content
Unverified Commit e04918dc authored by Herbert Xu's avatar Herbert Xu Committed by Christian Brauner
Browse files

cred: Fix RCU warnings in override/revert_creds



Fix RCU warnings in override_creds and revert_creds by turning
the RCU pointer into a normal pointer using rcu_replace_pointer.

These warnings were previously private to the cred code, but due
to the move into the header file they are now polluting unrelated
subsystems.

Fixes: 49dffdfd ("cred: Add a light version of override/revert_creds()")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Link: https://lore.kernel.org/r/Z8QGQGW0IaSklKG7@gondor.apana.org.au


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent d082ecbc
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