lockd: Clean up nlmsvc_lookup_host()
commit67216b94d498f5880d8bba2a6b841880739dd524
authorChuck Lever <chuck.lever@oracle.com>
Tue, 14 Dec 2010 15:06:12 +0000 (14 15:06 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 16 Dec 2010 17:37:26 +0000 (16 12:37 -0500)
treec1334c1db47782b6af9cd69e5165538d9659bca1
parent8ea6ecc8b0759756a766c05dc7c98c51ec90de37
lockd: Clean up nlmsvc_lookup_host()

Clean up.

Change nlmsvc_lookup_host() to be purpose-built for server-side
nlm_host management.  This replaces the generic nlm_lookup_host()
helper function, just like on the client side.  The lookup logic is
specialized for server host lookups.

The server side cache also gets its own specialized equivalent of the
nlm_release_host() function.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/host.c
fs/lockd/svc4proc.c
fs/lockd/svcproc.c
include/linux/lockd/lockd.h