diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-12-05 19:02:07 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 11:53:52 -0500 |
commit | 36e8e668d3e6a61848a8921ddeb663b417299fa5 (patch) | |
tree | c5ad964c566341f24ecf7d67f4b34173205e9143 /include | |
parent | 9c1bfd037f7ff8badaecb47418f109148d88bf45 (diff) |
NSM: Move NSM program and procedure numbers to fs/lockd/mon.c
Clean up: Move the RPC program and procedure numbers for NSM into the
one source file that needs them: fs/lockd/mon.c.
And, as with NLM, NFS, and rpcbind calls, use NSMPROC_FOO instead of
SM_FOO for NSM procedure numbers.
Finally, make a couple of comments more precise: what is referred to
here as SM_NOTIFY is really the NLM (lockd) NLMPROC_SM_NOTIFY downcall,
not NSMPROC_NOTIFY.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/lockd/sm_inter.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/lockd/sm_inter.h b/include/linux/lockd/sm_inter.h index dd9d8a5bb316..116bf38535a0 100644 --- a/include/linux/lockd/sm_inter.h +++ b/include/linux/lockd/sm_inter.h | |||
@@ -9,15 +9,6 @@ | |||
9 | #ifndef LINUX_LOCKD_SM_INTER_H | 9 | #ifndef LINUX_LOCKD_SM_INTER_H |
10 | #define LINUX_LOCKD_SM_INTER_H | 10 | #define LINUX_LOCKD_SM_INTER_H |
11 | 11 | ||
12 | #define SM_PROGRAM 100024 | ||
13 | #define SM_VERSION 1 | ||
14 | #define SM_STAT 1 | ||
15 | #define SM_MON 2 | ||
16 | #define SM_UNMON 3 | ||
17 | #define SM_UNMON_ALL 4 | ||
18 | #define SM_SIMU_CRASH 5 | ||
19 | #define SM_NOTIFY 6 | ||
20 | |||
21 | #define SM_MAXSTRLEN 1024 | 12 | #define SM_MAXSTRLEN 1024 |
22 | #define SM_PRIV_SIZE 16 | 13 | #define SM_PRIV_SIZE 16 |
23 | 14 | ||