[PATCH RFC tip/core/rcu 11/23] nfs: __rcu annotations

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul E. McKenney
Date: Wednesday, May 12, 2010 - 2:33 pm

From: Arnd Bergmann <arnd@arndb.de>

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
---
 include/linux/nfs_fs.h          |    2 +-
 include/linux/sunrpc/auth_gss.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 07ce460..491da02 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -178,7 +178,7 @@ struct nfs_inode {
 	struct nfs4_cached_acl	*nfs4_acl;
         /* NFSv4 state */
 	struct list_head	open_states;
-	struct nfs_delegation	*delegation;
+	struct nfs_delegation __rcu *delegation;
 	fmode_t			 delegation_state;
 	struct rw_semaphore	rwsem;
 #endif /* CONFIG_NFS_V4*/
diff --git a/include/linux/sunrpc/auth_gss.h b/include/linux/sunrpc/auth_gss.h
index d48d4e6..994db5a 100644
--- a/include/linux/sunrpc/auth_gss.h
+++ b/include/linux/sunrpc/auth_gss.h
@@ -69,7 +69,7 @@ struct gss_cl_ctx {
 	enum rpc_gss_proc	gc_proc;
 	u32			gc_seq;
 	spinlock_t		gc_seq_lock;
-	struct gss_ctx		*gc_gss_ctx;
+	struct gss_ctx __rcu	*gc_gss_ctx;
 	struct xdr_netobj	gc_wire_ctx;
 	u32			gc_win;
 	unsigned long		gc_expiry;
@@ -80,7 +80,7 @@ struct gss_upcall_msg;
 struct gss_cred {
 	struct rpc_cred		gc_base;
 	enum rpc_gss_svc	gc_service;
-	struct gss_cl_ctx	*gc_ctx;
+	struct gss_cl_ctx __rcu	*gc_ctx;
 	struct gss_upcall_msg	*gc_upcall;
 	unsigned char		gc_machine_cred : 1;
 };
-- 
1.7.0.6

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH RFC tip/core/rcu 08/23] cgroups: __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 09/23] credentials: rcu annotation, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 10/23] keys: __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 11/23] nfs: __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 12/23] net: __rcu annotations for ..., Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 13/23] perf_event: __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 14/23] notifiers: __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 15/23] radix-tree: __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 16/23] idr: __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 17/23] input: __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 19/23] kvm: add __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 20/23] kernel: __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 21/23] net: __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 22/23] kvm: more __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
[PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annotations, Paul E. McKenney, (Wed May 12, 2:33 pm)
Re: [PATCH RFC tip/core/rcu 04/23] net: Make accesses to - ..., Stephen Hemminger, (Wed May 12, 2:44 pm)
Re: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annota ..., Michael S. Tsirkin, (Wed May 12, 2:48 pm)
Re: [PATCH RFC tip/core/rcu 04/23] net: Make accesses to - ..., Stephen Hemminger, (Wed May 12, 6:33 pm)
Re: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annota ..., Michael S. Tsirkin, (Wed May 12, 8:53 pm)
Re: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annota ..., Michael S. Tsirkin, (Wed May 12, 9:50 pm)
Re: [PATCH RFC tip/core/rcu 17/23] input: __rcu annotations, Dmitry Torokhov, (Thu May 13, 12:40 am)
Re: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annota ..., Paul E. McKenney, (Thu May 13, 12:55 pm)
Re: [PATCH RFC tip/core/rcu 02/23] rcu: add __rcu API for ..., Paul E. McKenney, (Thu May 13, 2:48 pm)
Re: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annota ..., Michael S. Tsirkin, (Mon May 17, 1:33 pm)
Re: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annota ..., Mathieu Desnoyers, (Mon May 17, 3:00 pm)
Re: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annota ..., Michael S. Tsirkin, (Mon May 17, 4:08 pm)
Re: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annota ..., Mathieu Desnoyers, (Mon May 17, 4:40 pm)
Re: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annota ..., Mathieu Desnoyers, (Mon May 17, 6:35 pm)
Re: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annota ..., Michael S. Tsirkin, (Tue May 18, 7:25 am)
Re: [PATCH RFC tip/core/rcu 23/23] vhost: add __rcu annota ..., Mathieu Desnoyers, (Tue May 18, 7:47 am)