From: Trond Myklebust Date: Sat, 20 Nov 2010 16:13:31 +0000 (-0500) Subject: SUNRPC: Fix an infinite loop in call_refresh/call_refreshresult X-Git-Tag: v2.6.37-rc4~15^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fc43978a79e8021c189660ab63249fd29c5fb32;p=pandora-kernel.git 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 --- Reading git-diff-tree failed