diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-01-18 22:56:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-03 18:27:05 -0600 |
commit | 742f4ab5acf285f74a86462aa2a78daf1a430ae8 (patch) | |
tree | 3e3ff5c9537e0dbb91f364253cfe5e693f2da453 /fs/nfs/pnfs.h | |
parent | 607f8acb842d81ab83895d458dacbcbf62729d7d (diff) | |
download | lwn-742f4ab5acf285f74a86462aa2a78daf1a430ae8.tar.gz lwn-742f4ab5acf285f74a86462aa2a78daf1a430ae8.zip |
NFSv4: Fix NFSv4 trunking discovery
commit 202c312dba7d95b96493b412c606163a0cd83984 upstream.
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 <greearb@candelatech.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/pnfs.h')
0 files changed, 0 insertions, 0 deletions