Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39491
b: refs/heads/master
c: e6e80f2
h: refs/heads/master
i:
  39489: c4fb99f
  39487: 590c67f
v: v3
  • Loading branch information
Jens Axboe authored and Jens Axboe committed Oct 12, 2006
1 parent 44cf37e commit 8389f89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: a22b169df1b9f259391cf3b8ad8bfeea3d7be3f1
refs/heads/master: e6e80f294c2688302f41959c57acfee7e131e489
6 changes: 3 additions & 3 deletions trunk/fs/splice.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ static int pipe_to_file(struct pipe_inode_info *pipe, struct pipe_buffer *buf,
ret = -ENOMEM;
page = page_cache_alloc_cold(mapping);
if (unlikely(!page))
goto out_nomem;
goto out_ret;

/*
* This will also lock the page
Expand Down Expand Up @@ -666,7 +666,7 @@ static int pipe_to_file(struct pipe_inode_info *pipe, struct pipe_buffer *buf,
if (sd->pos + this_len > isize)
vmtruncate(mapping->host, isize);

goto out;
goto out_ret;
}

if (buf->page != page) {
Expand Down Expand Up @@ -698,7 +698,7 @@ static int pipe_to_file(struct pipe_inode_info *pipe, struct pipe_buffer *buf,
out:
page_cache_release(page);
unlock_page(page);
out_nomem:
out_ret:
return ret;
}

Expand Down

0 comments on commit 8389f89

Please sign in to comment.