diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 19:22:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 19:22:03 +0000 |
commit | 4fe40b02212fc6ae213fa2082322c3401433a0a3 (patch) | |
tree | e1bf3b779c1dc9c5337c4442bf720073a3a53415 /fs/open.c | |
parent | Adding upstream version 6.9.7. (diff) | |
download | linux-4fe40b02212fc6ae213fa2082322c3401433a0a3.tar.xz linux-4fe40b02212fc6ae213fa2082322c3401433a0a3.zip |
Adding upstream version 6.9.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -202,13 +202,13 @@ long do_sys_ftruncate(unsigned int fd, loff_t length, int small) return error; } -SYSCALL_DEFINE2(ftruncate, unsigned int, fd, unsigned long, length) +SYSCALL_DEFINE2(ftruncate, unsigned int, fd, off_t, length) { return do_sys_ftruncate(fd, length, 1); } #ifdef CONFIG_COMPAT -COMPAT_SYSCALL_DEFINE2(ftruncate, unsigned int, fd, compat_ulong_t, length) +COMPAT_SYSCALL_DEFINE2(ftruncate, unsigned int, fd, compat_off_t, length) { return do_sys_ftruncate(fd, length, 1); } |