diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-11-20 11:13:31 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-11-22 13:22:39 -0500 |
commit | 5fc43978a79e8021c189660ab63249fd29c5fb32 (patch) | |
tree | cac3a18f6bc6c5b91e5c2592c2d7b0ad459db50e /fs/jbd2/transaction.c | |
parent | 3561d43fd289f590fdae672e5eb831b8d5cf0bf6 (diff) | |
download | blackbird-op-linux-5fc43978a79e8021c189660ab63249fd29c5fb32.tar.gz blackbird-op-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/jbd2/transaction.c')
0 files changed, 0 insertions, 0 deletions