aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/nfs4proc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index dc4037c52cf7..6630db1336a9 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -1432,6 +1432,12 @@ int nfs4_open_delegation_recall(struct nfs_open_context *ctx, struct nfs4_state
1432 case -ENOMEM: 1432 case -ENOMEM:
1433 err = 0; 1433 err = 0;
1434 goto out; 1434 goto out;
1435 case -NFS4ERR_DELAY:
1436 case -NFS4ERR_GRACE:
1437 set_bit(NFS_DELEGATED_STATE, &state->flags);
1438 ssleep(1);
1439 err = -EAGAIN;
1440 goto out;
1435 } 1441 }
1436 set_bit(NFS_DELEGATED_STATE, &state->flags); 1442 set_bit(NFS_DELEGATED_STATE, &state->flags);
1437 err = nfs4_handle_exception(server, err, &exception); 1443 err = nfs4_handle_exception(server, err, &exception);