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
f81dc7d7
Commit
f81dc7d7
authored
Oct 31, 2016
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
splice_pipe_desc: kill ->flags
no users left Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
23c832b1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
5 deletions
+0
-5
include/linux/splice.h
include/linux/splice.h
+0
-1
kernel/relay.c
kernel/relay.c
+0
-1
kernel/trace/trace.c
kernel/trace/trace.c
+0
-2
net/core/skbuff.c
net/core/skbuff.c
+0
-1
No files found.
include/linux/splice.h
View file @
f81dc7d7
...
...
@@ -55,7 +55,6 @@ struct splice_pipe_desc {
struct
partial_page
*
partial
;
/* pages[] may not be contig */
int
nr_pages
;
/* number of populated pages in map */
unsigned
int
nr_pages_max
;
/* pages[] & partial[] arrays size */
unsigned
int
flags
;
/* splice flags */
const
struct
pipe_buf_operations
*
ops
;
/* ops associated with output pipe */
void
(
*
spd_release
)(
struct
splice_pipe_desc
*
,
unsigned
int
);
};
...
...
kernel/relay.c
View file @
f81dc7d7
...
...
@@ -1212,7 +1212,6 @@ static ssize_t subbuf_splice_actor(struct file *in,
.
nr_pages
=
0
,
.
nr_pages_max
=
PIPE_DEF_BUFFERS
,
.
partial
=
partial
,
.
flags
=
flags
,
.
ops
=
&
relay_pipe_buf_ops
,
.
spd_release
=
relay_page_release
,
};
...
...
kernel/trace/trace.c
View file @
f81dc7d7
...
...
@@ -5536,7 +5536,6 @@ static ssize_t tracing_splice_read_pipe(struct file *filp,
.
partial
=
partial_def
,
.
nr_pages
=
0
,
/* This gets updated below. */
.
nr_pages_max
=
PIPE_DEF_BUFFERS
,
.
flags
=
flags
,
.
ops
=
&
tracing_pipe_buf_ops
,
.
spd_release
=
tracing_spd_release_pipe
,
};
...
...
@@ -6434,7 +6433,6 @@ tracing_buffers_splice_read(struct file *file, loff_t *ppos,
.
pages
=
pages_def
,
.
partial
=
partial_def
,
.
nr_pages_max
=
PIPE_DEF_BUFFERS
,
.
flags
=
flags
,
.
ops
=
&
buffer_pipe_buf_ops
,
.
spd_release
=
buffer_spd_release
,
};
...
...
net/core/skbuff.c
View file @
f81dc7d7
...
...
@@ -1976,7 +1976,6 @@ int skb_splice_bits(struct sk_buff *skb, struct sock *sk, unsigned int offset,
.
pages
=
pages
,
.
partial
=
partial
,
.
nr_pages_max
=
MAX_SKB_FRAGS
,
.
flags
=
flags
,
.
ops
=
&
nosteal_pipe_buf_ops
,
.
spd_release
=
sock_spd_release
,
};
...
...
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