diff options
-rw-r--r-- | fs/lockd/mon.c | 14 | ||||
-rw-r--r-- | include/linux/lockd/sm_inter.h | 20 |
2 files changed, 14 insertions, 20 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; |
diff --git a/include/linux/lockd/sm_inter.h b/include/linux/lockd/sm_inter.h index 896a5e303323..dd9d8a5bb316 100644 --- a/include/linux/lockd/sm_inter.h +++ b/include/linux/lockd/sm_inter.h | |||
@@ -21,26 +21,6 @@ | |||
21 | #define SM_MAXSTRLEN 1024 | 21 | #define SM_MAXSTRLEN 1024 |
22 | #define SM_PRIV_SIZE 16 | 22 | #define SM_PRIV_SIZE 16 |
23 | 23 | ||
24 | /* | ||
25 | * Arguments for all calls to statd | ||
26 | */ | ||
27 | struct nsm_args { | ||
28 | __be32 addr; /* remote address */ | ||
29 | u32 prog; /* RPC callback info */ | ||
30 | u32 vers; | ||
31 | u32 proc; | ||
32 | |||
33 | char * mon_name; | ||
34 | }; | ||
35 | |||
36 | /* | ||
37 | * Result returned by statd | ||
38 | */ | ||
39 | struct nsm_res { | ||
40 | u32 status; | ||
41 | u32 state; | ||
42 | }; | ||
43 | |||
44 | extern int nsm_local_state; | 24 | extern int nsm_local_state; |
45 | 25 | ||
46 | #endif /* LINUX_LOCKD_SM_INTER_H */ | 26 | #endif /* LINUX_LOCKD_SM_INTER_H */ |