aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-12-04 15:55:05 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-04 15:55:05 -0500
commit6df08189ffd33d8357759561dba49d25c0335858 (patch)
tree8f1d38370002cb05534628ee7b6bbfd04242b715 /fs/nfs/internal.h
parent4d643d1dfa9349164fe928e255f68020d91dbfe0 (diff)
nfs41: rename cl_state session SETUP bit to RESET
The bit is no longer used for session setup, only for session reset. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h2
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 }