]> git.baikalelectronics.ru Git - kernel.git/commit
lockd: Clean up nlmsvc_lookup_host()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 14 Dec 2010 15:06:12 +0000 (15:06 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 16 Dec 2010 17:37:26 +0000 (12:37 -0500)
commit281aec38ce1c67194c539b653cdb26e028d42fe0
treec1334c1db47782b6af9cd69e5165538d9659bca1
parenta0a83adc6ce88aea3e82f29225a6205f8ea07579
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