diff options
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r-- | fs/nfs/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index e21b1bb9972f..ebcd3795389e 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -183,7 +183,7 @@ static inline void nfs4_restart_rpc(struct rpc_task *task, | |||
183 | { | 183 | { |
184 | #ifdef CONFIG_NFS_V4_1 | 184 | #ifdef CONFIG_NFS_V4_1 |
185 | if (nfs4_has_session(clp) && | 185 | if (nfs4_has_session(clp) && |
186 | test_bit(NFS4CLNT_SESSION_SETUP, &clp->cl_state)) { | 186 | test_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state)) { |
187 | rpc_restart_call_prepare(task); | 187 | rpc_restart_call_prepare(task); |
188 | return; | 188 | return; |
189 | } | 189 | } |