summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-12-04 21:55:05 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-04 21:55:05 +0100
commit6df08189ffd33d8357759561dba49d25c0335858 (patch)
tree8f1d38370002cb05534628ee7b6bbfd04242b715 /fs/nfs/internal.h
parentnfs41: add create session into establish_clid (diff)
downloadlinux-6df08189ffd33d8357759561dba49d25c0335858.tar.xz
linux-6df08189ffd33d8357759561dba49d25c0335858.zip
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,
{
#ifdef CONFIG_NFS_V4_1
if (nfs4_has_session(clp) &&
- test_bit(NFS4CLNT_SESSION_SETUP, &clp->cl_state)) {
+ test_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state)) {
rpc_restart_call_prepare(task);
return;
}