From: Trond Myklebust Date: Sat, 19 Jan 2013 03:56:23 +0000 (-0500) Subject: NFSv4: Fix NFSv4 trunking discovery X-Git-Tag: v3.8-rc6~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=202c312dba7d95b96493b412c606163a0cd83984;p=pandora-kernel.git NFSv4: Fix NFSv4 trunking discovery If walking the list in nfs4[01]_walk_client_list fails, then the most likely explanation is that the server dropped the clientid before we actually managed to confirm it. As long as our nfs_client is the very last one in the list to be tested, the caller can be assured that this is the case when the final return value is NFS4ERR_STALE_CLIENTID. Reported-by: Ben Greear Signed-off-by: Trond Myklebust Cc: Chuck Lever Cc: stable@vger.kernel.org [>=3.7] Tested-by: Ben Greear --- Reading git-diff-tree failed