Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309281
b: refs/heads/master
c: bd1a68b
h: refs/heads/master
i:
  309279: a2f79ef
v: v3
  • Loading branch information
Eric Dumazet authored and Jens Axboe committed Apr 20, 2012
1 parent e5c52c9 commit c74f7eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a637120e49021d197e9578cba545bbaa459cbb51
refs/heads/master: bd1a68b59c8e3bce45fb76632c64e1e063c3962d
4 changes: 2 additions & 2 deletions trunk/fs/splice.c
Original file line number Diff line number Diff line change
Expand Up @@ -1385,7 +1385,7 @@ static long do_splice(struct file *in, loff_t __user *off_in,
*/
static int get_iovec_page_array(const struct iovec __user *iov,
unsigned int nr_vecs, struct page **pages,
struct partial_page *partial, int aligned,
struct partial_page *partial, bool aligned,
unsigned int pipe_buffers)
{
int buffers = 0, error = 0;
Expand Down Expand Up @@ -1623,7 +1623,7 @@ static long vmsplice_to_pipe(struct file *file, const struct iovec __user *iov,
return -ENOMEM;

spd.nr_pages = get_iovec_page_array(iov, nr_segs, spd.pages,
spd.partial, flags & SPLICE_F_GIFT,
spd.partial, false,
pipe->buffers);
if (spd.nr_pages <= 0)
ret = spd.nr_pages;
Expand Down

0 comments on commit c74f7eb

Please sign in to comment.