Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
64c91a1f
Commit
64c91a1f
authored
Jun 23, 2007
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SUNRPC: Make rpc_ping() static
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
fc1b356f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
include/linux/sunrpc/clnt.h
include/linux/sunrpc/clnt.h
+0
-1
net/sunrpc/clnt.c
net/sunrpc/clnt.c
+3
-1
No files found.
include/linux/sunrpc/clnt.h
View file @
64c91a1f
...
@@ -136,7 +136,6 @@ void rpc_clnt_sigunmask(struct rpc_clnt *clnt, sigset_t *oldset);
...
@@ -136,7 +136,6 @@ void rpc_clnt_sigunmask(struct rpc_clnt *clnt, sigset_t *oldset);
void
rpc_setbufsize
(
struct
rpc_clnt
*
,
unsigned
int
,
unsigned
int
);
void
rpc_setbufsize
(
struct
rpc_clnt
*
,
unsigned
int
,
unsigned
int
);
size_t
rpc_max_payload
(
struct
rpc_clnt
*
);
size_t
rpc_max_payload
(
struct
rpc_clnt
*
);
void
rpc_force_rebind
(
struct
rpc_clnt
*
);
void
rpc_force_rebind
(
struct
rpc_clnt
*
);
int
rpc_ping
(
struct
rpc_clnt
*
clnt
,
int
flags
);
size_t
rpc_peeraddr
(
struct
rpc_clnt
*
,
struct
sockaddr
*
,
size_t
);
size_t
rpc_peeraddr
(
struct
rpc_clnt
*
,
struct
sockaddr
*
,
size_t
);
char
*
rpc_peeraddr2str
(
struct
rpc_clnt
*
,
enum
rpc_display_format_t
);
char
*
rpc_peeraddr2str
(
struct
rpc_clnt
*
,
enum
rpc_display_format_t
);
...
...
net/sunrpc/clnt.c
View file @
64c91a1f
...
@@ -72,6 +72,8 @@ static void call_connect_status(struct rpc_task *task);
...
@@ -72,6 +72,8 @@ static void call_connect_status(struct rpc_task *task);
static
__be32
*
call_header
(
struct
rpc_task
*
task
);
static
__be32
*
call_header
(
struct
rpc_task
*
task
);
static
__be32
*
call_verify
(
struct
rpc_task
*
task
);
static
__be32
*
call_verify
(
struct
rpc_task
*
task
);
static
int
rpc_ping
(
struct
rpc_clnt
*
clnt
,
int
flags
);
static
void
rpc_register_client
(
struct
rpc_clnt
*
clnt
)
static
void
rpc_register_client
(
struct
rpc_clnt
*
clnt
)
{
{
spin_lock
(
&
rpc_client_lock
);
spin_lock
(
&
rpc_client_lock
);
...
@@ -1441,7 +1443,7 @@ static struct rpc_procinfo rpcproc_null = {
...
@@ -1441,7 +1443,7 @@ static struct rpc_procinfo rpcproc_null = {
.
p_decode
=
rpcproc_decode_null
,
.
p_decode
=
rpcproc_decode_null
,
};
};
int
rpc_ping
(
struct
rpc_clnt
*
clnt
,
int
flags
)
static
int
rpc_ping
(
struct
rpc_clnt
*
clnt
,
int
flags
)
{
{
struct
rpc_message
msg
=
{
struct
rpc_message
msg
=
{
.
rpc_proc
=
&
rpcproc_null
,
.
rpc_proc
=
&
rpcproc_null
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment