diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-27 12:58:48 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-27 14:33:07 -0400 |
commit | 7c5d7256845e30d295de4d72d4c52943bff7d1ac (patch) | |
tree | f18e38887396a982bc2f8b315c7a3f734bc4d57a /fs | |
parent | bf674c8228710fa4149df3988862dc112860df99 (diff) |
NFSv4.1: Handle NFS4ERR_CONN_NOT_BOUND_TO_SESSION in the state manager
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/nfs4state.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index d685fd4294fb..e593ae972567 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c | |||
@@ -1493,12 +1493,14 @@ static int nfs4_recovery_handle_error(struct nfs_client *clp, int error) | |||
1493 | case -NFS4ERR_BADSLOT: | 1493 | case -NFS4ERR_BADSLOT: |
1494 | case -NFS4ERR_BAD_HIGH_SLOT: | 1494 | case -NFS4ERR_BAD_HIGH_SLOT: |
1495 | case -NFS4ERR_DEADSESSION: | 1495 | case -NFS4ERR_DEADSESSION: |
1496 | case -NFS4ERR_CONN_NOT_BOUND_TO_SESSION: | ||
1497 | case -NFS4ERR_SEQ_FALSE_RETRY: | 1496 | case -NFS4ERR_SEQ_FALSE_RETRY: |
1498 | case -NFS4ERR_SEQ_MISORDERED: | 1497 | case -NFS4ERR_SEQ_MISORDERED: |
1499 | set_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state); | 1498 | set_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state); |
1500 | /* Zero session reset errors */ | 1499 | /* Zero session reset errors */ |
1501 | break; | 1500 | break; |
1501 | case -NFS4ERR_CONN_NOT_BOUND_TO_SESSION: | ||
1502 | set_bit(NFS4CLNT_BIND_CONN_TO_SESSION, &clp->cl_state); | ||
1503 | break; | ||
1502 | case -EKEYEXPIRED: | 1504 | case -EKEYEXPIRED: |
1503 | /* Nothing we can do */ | 1505 | /* Nothing we can do */ |
1504 | nfs4_warn_keyexpired(clp->cl_hostname); | 1506 | nfs4_warn_keyexpired(clp->cl_hostname); |