]> git.baikalelectronics.ru Git - kernel.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)
commit795712e900a82031345bfbeab900b03d0bd75b05
tree9b6a938fe521815afd3cfb42e2023b443bb05d28
parentfa0abfe610784fbeee37a0cee81911a06e705e05
[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