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
Kirill Smelkov
linux
Commits
47fe0648
Commit
47fe0648
authored
Oct 25, 2007
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SUNRPC: Unexport rpc_init_task() and rpc_execute()
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
07737691
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
include/linux/sunrpc/sched.h
include/linux/sunrpc/sched.h
+0
-1
net/sunrpc/sched.c
net/sunrpc/sched.c
+1
-3
No files found.
include/linux/sunrpc/sched.h
View file @
47fe0648
...
...
@@ -247,7 +247,6 @@ struct rpc_wait_queue {
*/
struct
rpc_task
*
rpc_new_task
(
const
struct
rpc_task_setup
*
);
struct
rpc_task
*
rpc_run_task
(
const
struct
rpc_task_setup
*
);
void
rpc_init_task
(
struct
rpc_task
*
task
,
const
struct
rpc_task_setup
*
);
void
rpc_put_task
(
struct
rpc_task
*
);
void
rpc_exit_task
(
struct
rpc_task
*
);
void
rpc_release_calldata
(
const
struct
rpc_call_ops
*
,
void
*
);
...
...
net/sunrpc/sched.c
View file @
47fe0648
...
...
@@ -737,7 +737,6 @@ void rpc_execute(struct rpc_task *task)
rpc_set_running
(
task
);
__rpc_execute
(
task
);
}
EXPORT_SYMBOL_GPL
(
rpc_execute
);
static
void
rpc_async_schedule
(
struct
work_struct
*
work
)
{
...
...
@@ -815,7 +814,7 @@ EXPORT_SYMBOL_GPL(rpc_free);
/*
* Creation and deletion of RPC task structures
*/
void
rpc_init_task
(
struct
rpc_task
*
task
,
const
struct
rpc_task_setup
*
task_setup_data
)
static
void
rpc_init_task
(
struct
rpc_task
*
task
,
const
struct
rpc_task_setup
*
task_setup_data
)
{
memset
(
task
,
0
,
sizeof
(
*
task
));
setup_timer
(
&
task
->
tk_timer
,
(
void
(
*
)(
unsigned
long
))
rpc_run_timer
,
...
...
@@ -865,7 +864,6 @@ void rpc_init_task(struct rpc_task *task, const struct rpc_task_setup *task_setu
dprintk
(
"RPC: new task initialized, procpid %u
\n
"
,
task_pid_nr
(
current
));
}
EXPORT_SYMBOL_GPL
(
rpc_init_task
);
static
struct
rpc_task
*
rpc_alloc_task
(
void
)
...
...
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