forked from mirrors/linux
		
	nfs: __rcu annotations
Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
		
							parent
							
								
									e63ba744a6
								
							
						
					
					
						commit
						5b22216e11
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -185,7 +185,7 @@ struct nfs_inode {
 | 
				
			||||||
	struct nfs4_cached_acl	*nfs4_acl;
 | 
						struct nfs4_cached_acl	*nfs4_acl;
 | 
				
			||||||
        /* NFSv4 state */
 | 
					        /* NFSv4 state */
 | 
				
			||||||
	struct list_head	open_states;
 | 
						struct list_head	open_states;
 | 
				
			||||||
	struct nfs_delegation	*delegation;
 | 
						struct nfs_delegation __rcu *delegation;
 | 
				
			||||||
	fmode_t			 delegation_state;
 | 
						fmode_t			 delegation_state;
 | 
				
			||||||
	struct rw_semaphore	rwsem;
 | 
						struct rw_semaphore	rwsem;
 | 
				
			||||||
#endif /* CONFIG_NFS_V4*/
 | 
					#endif /* CONFIG_NFS_V4*/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -69,7 +69,7 @@ struct gss_cl_ctx {
 | 
				
			||||||
	enum rpc_gss_proc	gc_proc;
 | 
						enum rpc_gss_proc	gc_proc;
 | 
				
			||||||
	u32			gc_seq;
 | 
						u32			gc_seq;
 | 
				
			||||||
	spinlock_t		gc_seq_lock;
 | 
						spinlock_t		gc_seq_lock;
 | 
				
			||||||
	struct gss_ctx		*gc_gss_ctx;
 | 
						struct gss_ctx __rcu	*gc_gss_ctx;
 | 
				
			||||||
	struct xdr_netobj	gc_wire_ctx;
 | 
						struct xdr_netobj	gc_wire_ctx;
 | 
				
			||||||
	u32			gc_win;
 | 
						u32			gc_win;
 | 
				
			||||||
	unsigned long		gc_expiry;
 | 
						unsigned long		gc_expiry;
 | 
				
			||||||
| 
						 | 
					@ -80,7 +80,7 @@ struct gss_upcall_msg;
 | 
				
			||||||
struct gss_cred {
 | 
					struct gss_cred {
 | 
				
			||||||
	struct rpc_cred		gc_base;
 | 
						struct rpc_cred		gc_base;
 | 
				
			||||||
	enum rpc_gss_svc	gc_service;
 | 
						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;
 | 
						struct gss_upcall_msg	*gc_upcall;
 | 
				
			||||||
	unsigned long		gc_upcall_timestamp;
 | 
						unsigned long		gc_upcall_timestamp;
 | 
				
			||||||
	unsigned char		gc_machine_cred : 1;
 | 
						unsigned char		gc_machine_cred : 1;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue