]> git.decadent.org.uk Git - nfs-utils.git/commit
getport: Clear shared error fields before trying rpcbind queries
authorChuck Lever <chuck.lever@oracle.com>
Tue, 14 Jul 2009 20:24:11 +0000 (16:24 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 14 Jul 2009 20:24:11 +0000 (16:24 -0400)
commitc7fa61e76f072d97a9bdb4a551aa2ba28e5818cc
treec6e4dbd2357cbbe5c71646be87b5929ad3f24aab
parente188c214f487c9783ab3ae3e987d9a98b9298dfb
getport: Clear shared error fields before trying rpcbind queries

Some RPC errors set fields in rpc_createerr.cf_error in addition
to cf_stat.  Be sure to clear _all_ error fields in rpc_createerr
each time through the rpcbind API.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/include/nfsrpc.h
support/nfs/getport.c
support/nfs/rpc_socket.c
utils/mount/network.c