]> err.no Git - linux-2.6/commitdiff
NFSv4: Handle the condition NFS4ERR_FILE_OPEN
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 15 Sep 2006 12:25:04 +0000 (08:25 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:25:03 +0000 (23:25 -0400)
Retry a few times before we give up: the error is usually due to ordering
issues with asynchronous RPC calls.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c

index c218cc450b9211948987622da4e03702566be5db..c49ac3ea1dc3276c232b1a1edaef66c571c2ffb8 100644 (file)
@@ -2891,6 +2891,7 @@ int nfs4_handle_exception(const struct nfs_server *server, int errorcode, struct
                        if (ret == 0)
                                exception->retry = 1;
                        break;
+               case -NFS4ERR_FILE_OPEN:
                case -NFS4ERR_GRACE:
                case -NFS4ERR_DELAY:
                        ret = nfs4_delay(server->client, &exception->timeout);