Revision bdf200731145f07a6127cb16753e2e8fdc159cf4 authored by Arnd Bergmann on 01 October 2019, 15:53:29 UTC, committed by Jens Axboe on 01 October 2019, 15:53:29 UTC
All system calls use struct __kernel_timespec instead of the old struct
timespec, but this one was just added with the old-style ABI. Change it
now to enforce the use of __kernel_timespec, avoiding ABI confusion and
the need for compat handlers on 32-bit architectures.

Any user space caller will have to use __kernel_timespec now, but this
is unambiguous and works for any C library regardless of the time_t
definition. A nicer way to specify the timeout would have been a less
ambiguous 64-bit nanosecond value, but I suppose it's too late now to
change that as this would impact both 32-bit and 64-bit users.

Fixes: 5262f567987d ("io_uring: IORING_OP_TIMEOUT support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 8556011
History
File Mode Size
Kconfig -rw-r--r-- 3.2 KB
Makefile -rw-r--r-- 701 bytes
README -rw-r--r-- 7.9 KB
acl.h -rw-r--r-- 1.8 KB
bitmap.c -rw-r--r-- 39.6 KB
dir.c -rw-r--r-- 9.0 KB
do_balan.c -rw-r--r-- 54.3 KB
file.c -rw-r--r-- 7.5 KB
fix_node.c -rw-r--r-- 77.4 KB
hashes.c -rw-r--r-- 3.5 KB
ibalance.c -rw-r--r-- 34.3 KB
inode.c -rw-r--r-- 92.3 KB
ioctl.c -rw-r--r-- 5.3 KB
item_ops.c -rw-r--r-- 18.1 KB
journal.c -rw-r--r-- 120.4 KB
lbalance.c -rw-r--r-- 41.3 KB
lock.c -rw-r--r-- 2.6 KB
namei.c -rw-r--r-- 43.8 KB
objectid.c -rw-r--r-- 6.8 KB
prints.c -rw-r--r-- 21.4 KB
procfs.c -rw-r--r-- 13.2 KB
reiserfs.h -rw-r--r-- 116.6 KB
resize.c -rw-r--r-- 6.3 KB
stree.c -rw-r--r-- 64.0 KB
super.c -rw-r--r-- 69.9 KB
tail_conversion.c -rw-r--r-- 9.2 KB
xattr.c -rw-r--r-- 24.8 KB
xattr.h -rw-r--r-- 3.7 KB
xattr_acl.c -rw-r--r-- 9.6 KB
xattr_security.c -rw-r--r-- 2.7 KB
xattr_trusted.c -rw-r--r-- 1.2 KB
xattr_user.c -rw-r--r-- 1.1 KB

README

back to top