SUNRPC: constify the rpc_program
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
@@ -188,7 +188,7 @@ struct nlm_block {
|
||||
/*
|
||||
* Global variables
|
||||
*/
|
||||
extern struct rpc_program nlm_program;
|
||||
extern const struct rpc_program nlm_program;
|
||||
extern struct svc_procedure nlmsvc_procedures[];
|
||||
#ifdef CONFIG_LOCKD_V4
|
||||
extern struct svc_procedure nlmsvc_procedures4[];
|
||||
|
@@ -42,6 +42,6 @@ int nlmclt_encode_lockargs(struct rpc_rqst *, u32 *, struct nlm_args *);
|
||||
int nlmclt_encode_cancargs(struct rpc_rqst *, u32 *, struct nlm_args *);
|
||||
int nlmclt_encode_unlockargs(struct rpc_rqst *, u32 *, struct nlm_args *);
|
||||
*/
|
||||
extern struct rpc_version nlm_version4;
|
||||
extern const struct rpc_version nlm_version4;
|
||||
|
||||
#endif /* LOCKD_XDR4_H */
|
||||
|
Reference in New Issue
Block a user