lockd: Make lockd use rpc_new_client() instead of rpc_create_client
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:40 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:40 +0000 (13:44 -0500)
commit04266473ecf5cdca242201d9f1ed890afe070fb6
treec5c13c61db25a999cda87e5c6b4aacba12b44049
parent686517f1ad1630c11964d668b556aab79b8c942e
lockd: Make lockd use rpc_new_client() instead of rpc_create_client

When doing NLM_GRANTED requests, lockd may end up blocking if we use
rpc_create_client() due to the synchronous call to rpc_ping(). Instead, use
rpc_new_client().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/host.c