Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126290
b: refs/heads/master
c: ca8a5bd
h: refs/heads/master
v: v3
  • Loading branch information
Gerd Hoffmann authored and Linus Torvalds committed Jan 6, 2009
1 parent 9ffe16d commit 0084d38
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8c4018884a49eb2c6c7ca90804f331b12983561c
refs/heads/master: ca8a5bd28226d62c045e0e55b42b9d10b146c205
6 changes: 6 additions & 0 deletions trunk/fs/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1187,6 +1187,9 @@ compat_sys_readv(unsigned long fd, const struct compat_iovec __user *vec, unsign
ret = compat_do_readv_writev(READ, file, vec, vlen, &file->f_pos);

out:
if (ret > 0)
add_rchar(current, ret);
inc_syscr(current);
fput(file);
return ret;
}
Expand All @@ -1210,6 +1213,9 @@ compat_sys_writev(unsigned long fd, const struct compat_iovec __user *vec, unsig
ret = compat_do_readv_writev(WRITE, file, vec, vlen, &file->f_pos);

out:
if (ret > 0)
add_wchar(current, ret);
inc_syscw(current);
fput(file);
return ret;
}
Expand Down

0 comments on commit 0084d38

Please sign in to comment.