Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e63ba744 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Paul E. McKenney
Browse files

keys: __rcu annotations

parent 1b0ba1c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ struct thread_group_cred {
	atomic_t	usage;
	pid_t		tgid;			/* thread group process ID */
	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 rcu_head	rcu;			/* RCU deletion hook */
};
+2 −1
Original line number Diff line number Diff line
@@ -178,8 +178,9 @@ struct key {
	 */
	union {
		unsigned long		value;
		void __rcu		*rcudata;
		void			*data;
		struct keyring_list	*subscriptions;
		struct keyring_list __rcu *subscriptions;
	} payload;
};