]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] RPC: Make rpc_create_client() probe server for RPC program+version support
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 17:16:20 +0000 (17:16 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 20:07:04 +0000 (16:07 -0400)
commit5ee0ed7d3ab620a764740fb018f469d45f561931
tree9b6a938fe521815afd3cfb42e2023b443bb05d28
parent5b616f5d596c0b056129f8aeafbc08409b3cd050
[PATCH] RPC: Make rpc_create_client() probe server for RPC program+version support

 Ensure that we don't create an RPC client without checking that the server
 does indeed support the RPC program + version that we are trying to set up.

 This enables us to immediately return an error to "mount" if it turns out
 that the server is only supporting NFSv2, when we requested NFSv3 or NFSv4.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/host.c
fs/lockd/mon.c
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c
net/sunrpc/pmap_clnt.c