Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58528
b: refs/heads/master
c: 497f962
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Jul 10, 2007
1 parent 73baccc commit 5785cac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6b29d7cee064f28ca097e906de7453541351095
refs/heads/master: 497f9625c2bbd6a8525fb2eedb22a382a6a8253c
1 change: 1 addition & 0 deletions trunk/fs/splice.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ ssize_t splice_to_pipe(struct pipe_inode_info *pipe,
buf->page = spd->pages[page_nr];
buf->offset = spd->partial[page_nr].offset;
buf->len = spd->partial[page_nr].len;
buf->private = spd->partial[page_nr].private;
buf->ops = spd->ops;
if (spd->flags & SPLICE_F_GIFT)
buf->flags |= PIPE_BUF_FLAG_GIFT;
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/pipe_fs_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ struct pipe_buffer {
unsigned int offset, len;
const struct pipe_buf_operations *ops;
unsigned int flags;
unsigned long private;
};

struct pipe_inode_info {
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/splice.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ struct splice_desc {
struct partial_page {
unsigned int offset;
unsigned int len;
unsigned long private;
};

/*
Expand Down

0 comments on commit 5785cac

Please sign in to comment.