diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-07-01 12:13:12 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-10 23:40:46 -0400 |
commit | cce63cd6374e6f1b4ea897ece1454feb13993d7c (patch) | |
tree | 7e85088b49d36e8860fb3d5845e55bc8785efc3c /include/linux/sunrpc | |
parent | f7fb558e503dc80e100acaf116f7261cdd97f0ca (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.h | 7 |
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 *, | |||
120 | struct rpc_clnt *rpc_clone_client(struct rpc_clnt *); | 120 | struct rpc_clnt *rpc_clone_client(struct rpc_clnt *); |
121 | void rpc_shutdown_client(struct rpc_clnt *); | 121 | void rpc_shutdown_client(struct rpc_clnt *); |
122 | void rpc_release_client(struct rpc_clnt *); | 122 | void rpc_release_client(struct rpc_clnt *); |
123 | |||
123 | int rpcb_register(u32, u32, int, unsigned short, int *); | 124 | int rpcb_register(u32, u32, int, unsigned short, int *); |
124 | void rpcb_getport(struct rpc_task *); | 125 | void rpcb_getport(struct rpc_task *); |
126 | int rpcb_getport_sync(struct sockaddr_in *, __u32, __u32, int); | ||
125 | 127 | ||
126 | void rpc_call_setup(struct rpc_task *, struct rpc_message *, int); | 128 | void rpc_call_setup(struct rpc_task *, struct rpc_message *, int); |
127 | 129 | ||
@@ -141,10 +143,5 @@ void rpc_force_rebind(struct rpc_clnt *); | |||
141 | size_t rpc_peeraddr(struct rpc_clnt *, struct sockaddr *, size_t); | 143 | size_t rpc_peeraddr(struct rpc_clnt *, struct sockaddr *, size_t); |
142 | char * rpc_peeraddr2str(struct rpc_clnt *, enum rpc_display_format_t); | 144 | char * rpc_peeraddr2str(struct rpc_clnt *, enum rpc_display_format_t); |
143 | 145 | ||
144 | /* | ||
145 | * Helper function for NFSroot support | ||
146 | */ | ||
147 | int 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 */ |