Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165869
b: refs/heads/master
c: f909898
h: refs/heads/master
i:
  165867: 64c8510
v: v3
  • Loading branch information
Jeff Layton authored and Al Viro committed Sep 24, 2009
1 parent 941b85e commit 523fefa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: 42cb56ae2ab67390da34906b27bedc3f2ff1393b
refs/heads/master: f9098980ffea9c749622ff8ddf3b6d5831902a46
3 changes: 0 additions & 3 deletions trunk/fs/read_write.c
Original file line number Diff line number Diff line change
Expand Up @@ -839,9 +839,6 @@ static ssize_t do_sendfile(int out_fd, int in_fd, loff_t *ppos,
max = min(in_inode->i_sb->s_maxbytes, out_inode->i_sb->s_maxbytes);

pos = *ppos;
retval = -EINVAL;
if (unlikely(pos < 0))
goto fput_out;
if (unlikely(pos + count > max)) {
retval = -EOVERFLOW;
if (pos >= max)
Expand Down

0 comments on commit 523fefa

Please sign in to comment.