diff options
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 9e492c2261c0..54ff465cf7cf 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -2595,12 +2595,10 @@ int nfs4_handle_exception(const struct nfs_server *server, int errorcode, struct | |||
2595 | case -NFS4ERR_GRACE: | 2595 | case -NFS4ERR_GRACE: |
2596 | case -NFS4ERR_DELAY: | 2596 | case -NFS4ERR_DELAY: |
2597 | ret = nfs4_delay(server->client, &exception->timeout); | 2597 | ret = nfs4_delay(server->client, &exception->timeout); |
2598 | if (ret == 0) | 2598 | if (ret != 0) |
2599 | exception->retry = 1; | 2599 | break; |
2600 | break; | ||
2601 | case -NFS4ERR_OLD_STATEID: | 2600 | case -NFS4ERR_OLD_STATEID: |
2602 | if (ret == 0) | 2601 | exception->retry = 1; |
2603 | exception->retry = 1; | ||
2604 | } | 2602 | } |
2605 | /* We failed to handle the error */ | 2603 | /* We failed to handle the error */ |
2606 | return nfs4_map_errors(ret); | 2604 | return nfs4_map_errors(ret); |