diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-12-05 19:01:59 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-01-06 11:53:52 -0500 |
commit | 9c1bfd037f7ff8badaecb47418f109148d88bf45 (patch) | |
tree | 23435f76798f026e5cb1cdeb91077d854b359ac4 /fs/lockd | |
parent | 0c7aef4569f8680951b7dee01dddffb9d2f809ff (diff) |
NSM: Move NSM-related XDR data structures to lockd's xdr.h
Clean up: NSM's XDR data structures are used only in fs/lockd/mon.c,
so move them there.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/lockd')
-rw-r--r-- | fs/lockd/mon.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fs/lockd/mon.c b/fs/lockd/mon.c index 3bb71e1b1e1f..81308832e994 100644 --- a/fs/lockd/mon.c +++ b/fs/lockd/mon.c | |||
@@ -18,6 +18,20 @@ | |||
18 | 18 | ||
19 | #define NLMDBG_FACILITY NLMDBG_MONITOR | 19 | #define NLMDBG_FACILITY NLMDBG_MONITOR |
20 | 20 | ||
21 | struct nsm_args { | ||
22 | __be32 addr; /* remote address */ | ||
23 | u32 prog; /* RPC callback info */ | ||
24 | u32 vers; | ||
25 | u32 proc; | ||
26 | |||
27 | char *mon_name; | ||
28 | }; | ||
29 | |||
30 | struct nsm_res { | ||
31 | u32 status; | ||
32 | u32 state; | ||
33 | }; | ||
34 | |||
21 | static struct rpc_clnt * nsm_create(void); | 35 | static struct rpc_clnt * nsm_create(void); |
22 | 36 | ||
23 | static struct rpc_program nsm_program; | 37 | static struct rpc_program nsm_program; |