]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] knfsd: export nsm_local_state to user space via sysctl
authorOlaf Kirch <okir@suse.de>
Wed, 4 Oct 2006 09:16:03 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 4 Oct 2006 14:55:18 +0000 (07:55 -0700)
commit460f5cac1e24e947509b6112c99c5bc9ff687b45
tree135d63c8401c79513dd43efdd2faeae51b87c5dc
parent39be4502cb75dc26007fe1659735b26c8e63fcc6
[PATCH] knfsd: export nsm_local_state to user space via sysctl

Every NLM call includes the client's NSM state.  Currently, the Linux client
always reports 0 - which seems not to cause any problems, but is not what the
protocol says.

This patch exposes the kernel's internal variable to user space via a sysctl,
which can be set at system boot time by statd.

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/mon.c
fs/lockd/svc.c
include/linux/lockd/sm_inter.h