Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147039
b: refs/heads/master
c: 77f6bf5
h: refs/heads/master
i:
  147037: 1ea4aa6
  147035: b95025f
  147031: 8be8498
  147023: 945122a
  147007: 2fe8f76
v: v3
  • Loading branch information
Andrew Morton authored and Jens Axboe committed May 14, 2009
1 parent 820a164 commit 2e6e0b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 4f23122858a27ba97444b9b37a066d83edebd4c8
refs/heads/master: 77f6bf57ba9d2c50173536dbfdacdab27cb867ca
4 changes: 3 additions & 1 deletion trunk/fs/splice.c
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,10 @@ ssize_t default_file_splice_read(struct file *in, loff_t *ppos,
}

res = kernel_readv(in, vec, spd.nr_pages, *ppos);
if (res < 0)
if (res < 0) {
error = res;
goto err;
}

error = 0;
if (!res)
Expand Down

0 comments on commit 2e6e0b0

Please sign in to comment.