kernel-fxtec-pro1x/fs/lockd
Jeff Layton 6cde4de807 lockd: eliminate duplicate nlmsvc_lookup_host call from nlmsvc_lock
nlmsvc_lock calls nlmsvc_lookup_host to find a nlm_host struct. The
callers of this function, however, call nlmsvc_retrieve_args or
nlm4svc_retrieve_args, which also return a nlm_host struct.

Change nlmsvc_lock to take a host arg instead of calling
nlmsvc_lookup_host itself and change the callers to pass a pointer to
the nlm_host they've already found.

Since nlmsvc_testlock() now just uses the caller's reference, we no
longer need to get or release it.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2008-07-15 14:53:33 -04:00
..
clntlock.c NLM: Introduce an arguments structure for nlmclnt_init() 2008-01-30 02:06:07 -05:00
clntproc.c fs: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
host.c Merge git://git.linux-nfs.org/projects/trondmy/nfs-2.6 2008-04-24 11:46:16 -07:00
Makefile
mon.c lockd: introduce new function to encode private argument in SM_MON requests 2008-03-19 18:01:10 -04:00
svc.c lockd: close potential race with rapid lockd_up/lockd_down cycle 2008-06-23 13:02:50 -04:00
svc4proc.c lockd: eliminate duplicate nlmsvc_lookup_host call from nlmsvc_lock 2008-07-15 14:53:33 -04:00
svclock.c lockd: eliminate duplicate nlmsvc_lookup_host call from nlmsvc_lock 2008-07-15 14:53:33 -04:00
svcproc.c lockd: eliminate duplicate nlmsvc_lookup_host call from nlmsvc_lock 2008-07-15 14:53:33 -04:00
svcshare.c lockd: fix sparse warning in svcshare.c 2008-04-23 16:13:39 -04:00
svcsubs.c lockd: unlock lockd locks held for a certain filesystem 2008-04-25 13:00:11 -04:00
xdr.c
xdr4.c