NFSv4: Don't loop forever on state recovery failure...
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 9 Aug 2009 19:06:19 +0000 (15:06 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 9 Aug 2009 19:06:19 +0000 (15:06 -0400)
commita78cb57a106fceeba26da2907db9d8886700e1dc
treed9127810fa7f9d68232488bf33b947195c5d1e26
parentdd8ac1da4190139de70da18823ff8f5992a649ae
NFSv4: Don't loop forever on state recovery failure...

If the server is broken, then retrying forever won't fix it. We
should just give up after a while, and return an error to the user.
We set the number of retries to 10 for now...

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