mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-01 14:52:32 +00:00
keys: __rcu annotations
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: David Howells <dhowells@redhat.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
parent
1b0ba1c903
commit
e63ba744a6
@ -84,7 +84,7 @@ struct thread_group_cred {
|
|||||||
atomic_t usage;
|
atomic_t usage;
|
||||||
pid_t tgid; /* thread group process ID */
|
pid_t tgid; /* thread group process ID */
|
||||||
spinlock_t lock;
|
spinlock_t lock;
|
||||||
struct key *session_keyring; /* keyring inherited over fork */
|
struct key __rcu *session_keyring; /* keyring inherited over fork */
|
||||||
struct key *process_keyring; /* keyring private to this process */
|
struct key *process_keyring; /* keyring private to this process */
|
||||||
struct rcu_head rcu; /* RCU deletion hook */
|
struct rcu_head rcu; /* RCU deletion hook */
|
||||||
};
|
};
|
||||||
|
@ -178,8 +178,9 @@ struct key {
|
|||||||
*/
|
*/
|
||||||
union {
|
union {
|
||||||
unsigned long value;
|
unsigned long value;
|
||||||
|
void __rcu *rcudata;
|
||||||
void *data;
|
void *data;
|
||||||
struct keyring_list *subscriptions;
|
struct keyring_list __rcu *subscriptions;
|
||||||
} payload;
|
} payload;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user