Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23612
b: refs/heads/master
c: 6cc6b12
h: refs/heads/master
v: v3
  • Loading branch information
Carsten Otte authored and Linus Torvalds committed Mar 25, 2006
1 parent dda828c commit 9ea933d
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 55148548124e3e52e8921f1cb0e325111ef9cbb1
refs/heads/master: 6cc6b1226b71132a1d6e95449d78e051f1f3b506
2 changes: 1 addition & 1 deletion trunk/fs/read_write.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ static ssize_t do_readv_writev(int type, struct file *file,
* verify all the pointers
*/
ret = -EINVAL;
if ((nr_segs > UIO_MAXIOV) || (nr_segs <= 0))
if (nr_segs > UIO_MAXIOV)
goto out;
if (!file->f_op)
goto out;
Expand Down

0 comments on commit 9ea933d

Please sign in to comment.