diff options
-rw-r--r-- | fs/nfs/nfs4proc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 7f25246bf38c..88a9d93ec1bd 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -255,9 +255,6 @@ static int nfs4_handle_exception(const struct nfs_server *server, int errorcode, | |||
255 | nfs4_state_mark_reclaim_nograce(clp, state); | 255 | nfs4_state_mark_reclaim_nograce(clp, state); |
256 | goto do_state_recovery; | 256 | goto do_state_recovery; |
257 | case -NFS4ERR_STALE_STATEID: | 257 | case -NFS4ERR_STALE_STATEID: |
258 | if (state == NULL) | ||
259 | break; | ||
260 | nfs4_state_mark_reclaim_reboot(clp, state); | ||
261 | case -NFS4ERR_STALE_CLIENTID: | 258 | case -NFS4ERR_STALE_CLIENTID: |
262 | case -NFS4ERR_EXPIRED: | 259 | case -NFS4ERR_EXPIRED: |
263 | goto do_state_recovery; | 260 | goto do_state_recovery; |
@@ -3414,9 +3411,6 @@ nfs4_async_handle_error(struct rpc_task *task, const struct nfs_server *server, | |||
3414 | nfs4_state_mark_reclaim_nograce(clp, state); | 3411 | nfs4_state_mark_reclaim_nograce(clp, state); |
3415 | goto do_state_recovery; | 3412 | goto do_state_recovery; |
3416 | case -NFS4ERR_STALE_STATEID: | 3413 | case -NFS4ERR_STALE_STATEID: |
3417 | if (state == NULL) | ||
3418 | break; | ||
3419 | nfs4_state_mark_reclaim_reboot(clp, state); | ||
3420 | case -NFS4ERR_STALE_CLIENTID: | 3414 | case -NFS4ERR_STALE_CLIENTID: |
3421 | case -NFS4ERR_EXPIRED: | 3415 | case -NFS4ERR_EXPIRED: |
3422 | goto do_state_recovery; | 3416 | goto do_state_recovery; |