mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
0c7aef4569
commit
9c1bfd037f
2 changed files with 14 additions and 20 deletions
|
@ -18,6 +18,20 @@
|
|||
|
||||
#define NLMDBG_FACILITY NLMDBG_MONITOR
|
||||
|
||||
struct nsm_args {
|
||||
__be32 addr; /* remote address */
|
||||
u32 prog; /* RPC callback info */
|
||||
u32 vers;
|
||||
u32 proc;
|
||||
|
||||
char *mon_name;
|
||||
};
|
||||
|
||||
struct nsm_res {
|
||||
u32 status;
|
||||
u32 state;
|
||||
};
|
||||
|
||||
static struct rpc_clnt * nsm_create(void);
|
||||
|
||||
static struct rpc_program nsm_program;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue