patch-2.4.0-test9 linux/fs/lockd/svc.c

Next file: linux/fs/lockd/svclock.c
Previous file: linux/fs/lockd/host.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/fs/lockd/svc.c linux/fs/lockd/svc.c
@@ -39,12 +39,12 @@
 #define ALLOWED_SIGS		(sigmask(SIGKILL))
 
 extern struct svc_program	nlmsvc_program;
-struct nlmsvc_binding *		nlmsvc_ops = NULL;
+struct nlmsvc_binding *		nlmsvc_ops;
 static DECLARE_MUTEX(nlmsvc_sema);
-static unsigned int		nlmsvc_users = 0;
-static pid_t			nlmsvc_pid = 0;
-unsigned long			nlmsvc_grace_period = 0;
-unsigned long			nlmsvc_timeout = 0;
+static unsigned int		nlmsvc_users;
+static pid_t			nlmsvc_pid;
+unsigned long			nlmsvc_grace_period;
+unsigned long			nlmsvc_timeout;
 
 static DECLARE_MUTEX_LOCKED(lockd_start);
 static DECLARE_WAIT_QUEUE_HEAD(lockd_exit);
@@ -53,7 +53,7 @@
  * Currently the following can be set only at insmod time.
  * Ideally, they would be accessible through the sysctl interface.
  */
-unsigned long			nlm_grace_period = 0;
+unsigned long			nlm_grace_period;
 unsigned long			nlm_timeout = LOCKD_DFLT_TIMEO;
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)