NSM: Remove include/linux/lockd/sm_inter.h
authorChuck Lever <chuck.lever@oracle.com>
Thu, 11 Dec 2008 22:56:14 +0000 (17:56 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 6 Jan 2009 16:53:55 +0000 (11:53 -0500)
Clean up: The include/linux/lockd/sm_inter.h header is nearly empty
now.  Remove it.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
12 files changed:
fs/lockd/clntproc.c
fs/lockd/host.c
fs/lockd/mon.c
fs/lockd/svc.c
fs/lockd/svc4proc.c
fs/lockd/svcproc.c
fs/lockd/svcsubs.c
fs/lockd/xdr.c
fs/lockd/xdr4.c
include/linux/lockd/lockd.h
include/linux/lockd/sm_inter.h [deleted file]
include/linux/lockd/xdr.h

index 5ce42e0ed4a0b6814c9e5542fd3b2de6171d63b8..dd7957064a8ce31cd54f880ff038dec73e2a9717 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/sunrpc/clnt.h>
 #include <linux/sunrpc/svc.h>
 #include <linux/lockd/lockd.h>
-#include <linux/lockd/sm_inter.h>
 
 #define NLMDBG_FACILITY                NLMDBG_CLIENT
 #define NLMCLNT_GRACE_WAIT     (5*HZ)
index e5a65df4c0cd8e4b58005924758379c9a84cfe26..99d737bd4325477420274092d6f12f470cc9d623 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/sunrpc/clnt.h>
 #include <linux/sunrpc/svc.h>
 #include <linux/lockd/lockd.h>
-#include <linux/lockd/sm_inter.h>
 #include <linux/mutex.h>
 
 #include <net/ipv6.h>
index 8ae4c02d7dfda7e8ab60154e5975de496749d7da..dfa9d80efcbafa2ffbbc233e32e520a923f8ccdb 100644 (file)
@@ -15,8 +15,6 @@
 #include <linux/sunrpc/xprtsock.h>
 #include <linux/sunrpc/svc.h>
 #include <linux/lockd/lockd.h>
-#include <linux/lockd/sm_inter.h>
-
 
 #define NLMDBG_FACILITY                NLMDBG_MONITOR
 #define NSM_PROGRAM            100024
index bc3c3cb62db57017249c6b15d0f300957a8cc580..0b13392931a6fcff9102af6d4e6e2d79f3bb7529 100644 (file)
@@ -35,7 +35,6 @@
 #include <linux/sunrpc/svcsock.h>
 #include <net/ip.h>
 #include <linux/lockd/lockd.h>
-#include <linux/lockd/sm_inter.h>
 #include <linux/nfs.h>
 
 #define NLMDBG_FACILITY                NLMDBG_SVC
index bb79a53e06081d71c578041eb7942797df03cfa0..1725037374c595e3919f2cbb566f33593fd388f1 100644 (file)
@@ -16,8 +16,6 @@
 #include <linux/nfsd/nfsd.h>
 #include <linux/lockd/lockd.h>
 #include <linux/lockd/share.h>
-#include <linux/lockd/sm_inter.h>
-
 
 #define NLMDBG_FACILITY                NLMDBG_CLIENT
 
index e44310c0211cf3931c72f6ee2ca9d8dcb60a5469..3688e55901fc48e733c24329d05e140252004648 100644 (file)
@@ -16,8 +16,6 @@
 #include <linux/nfsd/nfsd.h>
 #include <linux/lockd/lockd.h>
 #include <linux/lockd/share.h>
-#include <linux/lockd/sm_inter.h>
-
 
 #define NLMDBG_FACILITY                NLMDBG_CLIENT
 
index 34c2766e27c7273138af21bdc8b65e9447c71d72..9e4d6aab611b829a22640e7bcdbcbecfc6ee5c45 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/nfsd/export.h>
 #include <linux/lockd/lockd.h>
 #include <linux/lockd/share.h>
-#include <linux/lockd/sm_inter.h>
 #include <linux/module.h>
 #include <linux/mount.h>
 
index 4cc7d01a1eb5300eeb5d8b2923228ed731dde15f..0336f2beacdee7792bf4155be5d279bfd30ca756 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/sunrpc/svc.h>
 #include <linux/sunrpc/stats.h>
 #include <linux/lockd/lockd.h>
-#include <linux/lockd/sm_inter.h>
 
 #define NLMDBG_FACILITY                NLMDBG_XDR
 
index 61d1714a470e20027af2a7fd8483b3cfdb6f645a..e1d52865319266fa0a96cd09e3d00aeceb7a8561 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/sunrpc/svc.h>
 #include <linux/sunrpc/stats.h>
 #include <linux/lockd/lockd.h>
-#include <linux/lockd/sm_inter.h>
 
 #define NLMDBG_FACILITY                NLMDBG_XDR
 
index 1ccd49e97a7f11b041b1f4ec49f4109dda0013f3..8b57467375cca9c7f3fd5a3e71a776edda6e283d 100644 (file)
@@ -205,6 +205,7 @@ extern struct svc_procedure nlmsvc_procedures4[];
 extern int                     nlmsvc_grace_period;
 extern unsigned long           nlmsvc_timeout;
 extern int                     nsm_use_hostnames;
+extern int                     nsm_local_state;
 
 /*
  * Lockd client functions
diff --git a/include/linux/lockd/sm_inter.h b/include/linux/lockd/sm_inter.h
deleted file mode 100644 (file)
index 5cef5a7..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * linux/include/linux/lockd/sm_inter.h
- *
- * Declarations for the kernel statd client.
- *
- * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de>
- */
-
-#ifndef LINUX_LOCKD_SM_INTER_H
-#define LINUX_LOCKD_SM_INTER_H
-
-#define SM_MAXSTRLEN   1024
-
-extern int     nsm_local_state;
-
-#endif /* LINUX_LOCKD_SM_INTER_H */
index 6338866222a8fd1b4797058cf22251d718bedd34..7dc5b6cb44cddd8a3dc1aa854cbc646d5ab1f9ba 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/nfs.h>
 #include <linux/sunrpc/xdr.h>
 
+#define SM_MAXSTRLEN           1024
 #define SM_PRIV_SIZE           16
 
 struct nsm_private {