aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r--fs/nfs/nfs4state.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index 2349518eef2c..c0583b9bef71 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -1140,9 +1140,9 @@ static int nfs4_run_state_manager(void *);
1140 1140
1141static void nfs4_clear_state_manager_bit(struct nfs_client *clp) 1141static void nfs4_clear_state_manager_bit(struct nfs_client *clp)
1142{ 1142{
1143 smp_mb__before_clear_bit(); 1143 smp_mb__before_atomic();
1144 clear_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state); 1144 clear_bit(NFS4CLNT_MANAGER_RUNNING, &clp->cl_state);
1145 smp_mb__after_clear_bit(); 1145 smp_mb__after_atomic();
1146 wake_up_bit(&clp->cl_state, NFS4CLNT_MANAGER_RUNNING); 1146 wake_up_bit(&clp->cl_state, NFS4CLNT_MANAGER_RUNNING);
1147 rpc_wake_up(&clp->cl_rpcwaitq); 1147 rpc_wake_up(&clp->cl_rpcwaitq);
1148} 1148}