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
23c832b1
Commit
23c832b1
authored
Oct 12, 2016
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove spd_release_page()
no users left Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
b4b8664d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
fs/splice.c
fs/splice.c
+0
-5
include/linux/splice.h
include/linux/splice.h
+0
-1
No files found.
fs/splice.c
View file @
23c832b1
...
...
@@ -244,11 +244,6 @@ ssize_t add_to_pipe(struct pipe_inode_info *pipe, struct pipe_buffer *buf)
}
EXPORT_SYMBOL
(
add_to_pipe
);
void
spd_release_page
(
struct
splice_pipe_desc
*
spd
,
unsigned
int
i
)
{
put_page
(
spd
->
pages
[
i
]);
}
/*
* Check if we need to grow the arrays holding pages and partial page
* descriptions.
...
...
include/linux/splice.h
View file @
23c832b1
...
...
@@ -82,7 +82,6 @@ extern ssize_t splice_direct_to_actor(struct file *, struct splice_desc *,
*/
extern
int
splice_grow_spd
(
const
struct
pipe_inode_info
*
,
struct
splice_pipe_desc
*
);
extern
void
splice_shrink_spd
(
struct
splice_pipe_desc
*
);
extern
void
spd_release_page
(
struct
splice_pipe_desc
*
,
unsigned
int
);
extern
const
struct
pipe_buf_operations
page_cache_pipe_buf_ops
;
extern
const
struct
pipe_buf_operations
default_pipe_buf_ops
;
...
...
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