aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-07-01 12:13:12 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-10 23:40:46 -0400
commitcce63cd6374e6f1b4ea897ece1454feb13993d7c (patch)
tree7e85088b49d36e8860fb3d5845e55bc8785efc3c /include/linux/sunrpc
parentf7fb558e503dc80e100acaf116f7261cdd97f0ca (diff)
SUNRPC: Rename rpcb_getport_external routine
In preparation for handling NFS mount option parsing in the kernel, rename rpcb_getport_external as rpcb_get_port_sync, and make it available always (instead of only when CONFIG_ROOT_NFS is enabled). Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/clnt.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h
index 097984b03857..b28d919c7758 100644
--- a/include/linux/sunrpc/clnt.h
+++ b/include/linux/sunrpc/clnt.h
@@ -120,8 +120,10 @@ struct rpc_clnt *rpc_bind_new_program(struct rpc_clnt *,
120struct rpc_clnt *rpc_clone_client(struct rpc_clnt *); 120struct rpc_clnt *rpc_clone_client(struct rpc_clnt *);
121void rpc_shutdown_client(struct rpc_clnt *); 121void rpc_shutdown_client(struct rpc_clnt *);
122void rpc_release_client(struct rpc_clnt *); 122void rpc_release_client(struct rpc_clnt *);
123
123int rpcb_register(u32, u32, int, unsigned short, int *); 124int rpcb_register(u32, u32, int, unsigned short, int *);
124void rpcb_getport(struct rpc_task *); 125void rpcb_getport(struct rpc_task *);
126int rpcb_getport_sync(struct sockaddr_in *, __u32, __u32, int);
125 127
126void rpc_call_setup(struct rpc_task *, struct rpc_message *, int); 128void rpc_call_setup(struct rpc_task *, struct rpc_message *, int);
127 129
@@ -141,10 +143,5 @@ void rpc_force_rebind(struct rpc_clnt *);
141size_t rpc_peeraddr(struct rpc_clnt *, struct sockaddr *, size_t); 143size_t rpc_peeraddr(struct rpc_clnt *, struct sockaddr *, size_t);
142char * rpc_peeraddr2str(struct rpc_clnt *, enum rpc_display_format_t); 144char * rpc_peeraddr2str(struct rpc_clnt *, enum rpc_display_format_t);
143 145
144/*
145 * Helper function for NFSroot support
146 */
147int rpcb_getport_external(struct sockaddr_in *, __u32, __u32, int);
148
149#endif /* __KERNEL__ */ 146#endif /* __KERNEL__ */
150#endif /* _LINUX_SUNRPC_CLNT_H */ 147#endif /* _LINUX_SUNRPC_CLNT_H */