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
7710ec36
Commit
7710ec36
authored
Nov 25, 2011
by
J. Bruce Fields
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
svcrpc: make svc_delete_xprt static
Signed-off-by:
J. Bruce Fields
<
bfields@redhat.com
>
parent
b2ea70af
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/linux/sunrpc/svc_xprt.h
include/linux/sunrpc/svc_xprt.h
+0
-1
net/sunrpc/svc_xprt.c
net/sunrpc/svc_xprt.c
+2
-1
No files found.
include/linux/sunrpc/svc_xprt.h
View file @
7710ec36
...
...
@@ -118,7 +118,6 @@ void svc_xprt_received(struct svc_xprt *);
void
svc_xprt_put
(
struct
svc_xprt
*
xprt
);
void
svc_xprt_copy_addrs
(
struct
svc_rqst
*
rqstp
,
struct
svc_xprt
*
xprt
);
void
svc_close_xprt
(
struct
svc_xprt
*
xprt
);
void
svc_delete_xprt
(
struct
svc_xprt
*
xprt
);
int
svc_port_is_privileged
(
struct
sockaddr
*
sin
);
int
svc_print_xprts
(
char
*
buf
,
int
maxlen
);
struct
svc_xprt
*
svc_find_xprt
(
struct
svc_serv
*
serv
,
const
char
*
xcl_name
,
...
...
net/sunrpc/svc_xprt.c
View file @
7710ec36
...
...
@@ -22,6 +22,7 @@ static struct svc_deferred_req *svc_deferred_dequeue(struct svc_xprt *xprt);
static
int
svc_deferred_recv
(
struct
svc_rqst
*
rqstp
);
static
struct
cache_deferred_req
*
svc_defer
(
struct
cache_req
*
req
);
static
void
svc_age_temp_xprts
(
unsigned
long
closure
);
static
void
svc_delete_xprt
(
struct
svc_xprt
*
xprt
);
/* apparently the "standard" is that clients close
* idle connections after 5 minutes, servers after
...
...
@@ -878,7 +879,7 @@ static void call_xpt_users(struct svc_xprt *xprt)
/*
* Remove a dead transport
*/
void
svc_delete_xprt
(
struct
svc_xprt
*
xprt
)
static
void
svc_delete_xprt
(
struct
svc_xprt
*
xprt
)
{
struct
svc_serv
*
serv
=
xprt
->
xpt_server
;
struct
svc_deferred_req
*
dr
;
...
...
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