Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8598
b: refs/heads/master
c: 83b942b
h: refs/heads/master
v: v3
  • Loading branch information
Tsuneo.Yoshioka@f-secure.com authored and Linus Torvalds committed Sep 12, 2005
1 parent 8ebfae1 commit 45c7603
Show file tree
Hide file tree
Showing 4 changed files with 4 additions 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: 9acf23c42b13d682abbd5db1d293c7a77ae54b61
refs/heads/master: 83b942bd3437d84d6ddf582477120b6b86369052
2 changes: 1 addition & 1 deletion trunk/arch/ia64/ia32/sys_ia32.c
Original file line number Diff line number Diff line change
Expand Up @@ -2327,7 +2327,7 @@ sys32_sendfile (int out_fd, int in_fd, int __user *offset, unsigned int count)
ret = sys_sendfile(out_fd, in_fd, offset ? (off_t __user *) &of : NULL, count);
set_fs(old_fs);

if (!ret && offset && put_user(of, offset))
if (offset && put_user(of, offset))
return -EFAULT;

return ret;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/s390/kernel/compat_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ asmlinkage long sys32_sendfile(int out_fd, int in_fd, compat_off_t *offset, size
ret = sys_sendfile(out_fd, in_fd, offset ? &of : NULL, count);
set_fs(old_fs);

if (!ret && offset && put_user(of, offset))
if (offset && put_user(of, offset))
return -EFAULT;

return ret;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/ia32/sys_ia32.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ sys32_sendfile(int out_fd, int in_fd, compat_off_t __user *offset, s32 count)
ret = sys_sendfile(out_fd, in_fd, offset ? &of : NULL, count);
set_fs(old_fs);

if (!ret && offset && put_user(of, offset))
if (offset && put_user(of, offset))
return -EFAULT;

return ret;
Expand Down

0 comments on commit 45c7603

Please sign in to comment.