Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321683
b: refs/heads/master
c: fb6ccff
h: refs/heads/master
i:
  321681: 0604f4c
  321679: d797f11
v: v3
  • Loading branch information
Zach Brown authored and Miklos Szeredi committed Aug 6, 2012
1 parent 2038116 commit 7b13878
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: f3840dc0fb57aef120c5ee8241cdc9aaf3cec8d4
refs/heads/master: fb6ccff667712c46b4501b920ea73a326e49626a
2 changes: 1 addition & 1 deletion trunk/fs/fuse/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -1703,7 +1703,7 @@ static int fuse_verify_ioctl_iov(struct iovec *iov, size_t count)
size_t n;
u32 max = FUSE_MAX_PAGES_PER_REQ << PAGE_SHIFT;

for (n = 0; n < count; n++) {
for (n = 0; n < count; n++, iov++) {
if (iov->iov_len > (size_t) max)
return -ENOMEM;
max -= iov->iov_len;
Expand Down

0 comments on commit 7b13878

Please sign in to comment.