diff options
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/compat_linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/compat_linux.c b/arch/s390/kernel/compat_linux.c index 18610cea03a2..ed877d0f27e6 100644 --- a/arch/s390/kernel/compat_linux.c +++ b/arch/s390/kernel/compat_linux.c | |||
@@ -678,7 +678,7 @@ asmlinkage long sys32_sendfile(int out_fd, int in_fd, compat_off_t *offset, size | |||
678 | ret = sys_sendfile(out_fd, in_fd, offset ? &of : NULL, count); | 678 | ret = sys_sendfile(out_fd, in_fd, offset ? &of : NULL, count); |
679 | set_fs(old_fs); | 679 | set_fs(old_fs); |
680 | 680 | ||
681 | if (!ret && offset && put_user(of, offset)) | 681 | if (offset && put_user(of, offset)) |
682 | return -EFAULT; | 682 | return -EFAULT; |
683 | 683 | ||
684 | return ret; | 684 | return ret; |