[PATCH] knfsd: when looking up a lockd host, pass hostname & length
authorOlaf Kirch <okir@suse.de>
Wed, 4 Oct 2006 09:15:52 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:16 +0000 (07:55 -0700)
commitdb4e4c9a9e741ee812e1febf5e386d6a24218a71
tree92e59fba30edbf5e10908eb2952928a5e2a29adf
parentcf712c24d72341effcfd28330b83b49f77cb627b
[PATCH] knfsd: when looking up a lockd host, pass hostname & length

This patch adds the peer's hostname (and name length) to all calls to
nlm*_lookup_host functions.  A subsequent patch will make use of these (is
requested by a sysctl).

Signed-off-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/lockd/clntproc.c
fs/lockd/host.c
fs/lockd/svc4proc.c
fs/lockd/svclock.c
fs/lockd/svcproc.c
include/linux/lockd/lockd.h