summaryrefslogtreecommitdiffstats
path: root/fs/nfs/direct.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2010-11-20 11:13:31 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-11-22 13:22:39 -0500
commit5fc43978a79e8021c189660ab63249fd29c5fb32 (patch)
treecac3a18f6bc6c5b91e5c2592c2d7b0ad459db50e /fs/nfs/direct.c
parent3561d43fd289f590fdae672e5eb831b8d5cf0bf6 (diff)
downloadlinux-5fc43978a79e8021c189660ab63249fd29c5fb32.tar.gz
linux-5fc43978a79e8021c189660ab63249fd29c5fb32.tar.bz2
linux-5fc43978a79e8021c189660ab63249fd29c5fb32.zip
SUNRPC: Fix an infinite loop in call_refresh/call_refreshresult
If the rpcauth_refreshcred() call returns an error other than EACCES, ENOMEM or ETIMEDOUT, we currently end up looping forever between call_refresh and call_refreshresult. The correct thing to do here is to exit on all errors except EAGAIN and ETIMEDOUT, for which case we retry 3 times, then return EACCES. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/direct.c')
0 files changed, 0 insertions, 0 deletions