diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-03 15:53:21 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2009-12-03 15:53:21 -0500 |
commit | c8b7ae3d3221536228260757444ee10c6d71793f (patch) | |
tree | 0fe8d45072d1f2b49e1211402843d5df15510f74 /fs/nfs/nfs4state.c | |
parent | 4f7cdf18e14f81860b856ef7694ef58eb1a751c0 (diff) |
NFSv4: Ensure the state manager handles NFS4ERR_NO_GRACE correctly
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r-- | fs/nfs/nfs4state.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 8f27b4f0a530..b53e37fb0302 100644 --- a/fs/nfs/nfs4state.c +++ b/fs/nfs/nfs4state.c | |||
@@ -1057,6 +1057,9 @@ static int nfs4_recovery_handle_error(struct nfs_client *clp, int error) | |||
1057 | case -NFS4ERR_CB_PATH_DOWN: | 1057 | case -NFS4ERR_CB_PATH_DOWN: |
1058 | nfs_handle_cb_pathdown(clp); | 1058 | nfs_handle_cb_pathdown(clp); |
1059 | return 0; | 1059 | return 0; |
1060 | case -NFS4ERR_NO_GRACE: | ||
1061 | nfs4_state_end_reclaim_reboot(clp); | ||
1062 | return 0; | ||
1060 | case -NFS4ERR_STALE_CLIENTID: | 1063 | case -NFS4ERR_STALE_CLIENTID: |
1061 | case -NFS4ERR_LEASE_MOVED: | 1064 | case -NFS4ERR_LEASE_MOVED: |
1062 | set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state); | 1065 | set_bit(NFS4CLNT_LEASE_EXPIRED, &clp->cl_state); |