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
fc
fc_encode.h -rw-r--r-- 21.0 KB
fc_frame.h -rw-r--r-- 6.3 KB
fcoe_sysfs.h -rw-r--r-- 3.1 KB
iscsi_if.h -rw-r--r-- 25.6 KB
iscsi_proto.h -rw-r--r-- 15.5 KB
iser.h -rw-r--r-- 2.3 KB
libfc.h -rw-r--r-- 30.9 KB
libfcoe.h -rw-r--r-- 13.4 KB
libiscsi.h -rw-r--r-- 13.6 KB
libiscsi_tcp.h -rw-r--r-- 3.8 KB
libsas.h -rw-r--r-- 17.8 KB
sas.h -rw-r--r-- 12.5 KB
sas_ata.h -rw-r--r-- 2.1 KB
scsi.h -rw-r--r-- 8.6 KB
scsi_bsg_iscsi.h -rw-r--r-- 2.2 KB
scsi_cmnd.h -rw-r--r-- 9.0 KB
scsi_common.h -rw-r--r-- 2.1 KB
scsi_dbg.h -rw-r--r-- 2.1 KB
scsi_device.h -rw-r--r-- 21.0 KB
scsi_devinfo.h -rw-r--r-- 3.7 KB
scsi_dh.h -rw-r--r-- 2.5 KB
scsi_driver.h -rw-r--r-- 897 bytes
scsi_eh.h -rw-r--r-- 1.6 KB
scsi_host.h -rw-r--r-- 26.4 KB
scsi_ioctl.h -rw-r--r-- 1.3 KB
scsi_proto.h -rw-r--r-- 10.7 KB
scsi_request.h -rw-r--r-- 667 bytes
scsi_tcq.h -rw-r--r-- 961 bytes
scsi_transport.h -rw-r--r-- 2.6 KB
scsi_transport_fc.h -rw-r--r-- 26.3 KB
scsi_transport_iscsi.h -rw-r--r-- 16.5 KB
scsi_transport_sas.h -rw-r--r-- 6.8 KB
scsi_transport_spi.h -rw-r--r-- 6.5 KB
scsi_transport_srp.h -rw-r--r-- 4.8 KB
scsicam.h -rw-r--r-- 713 bytes
sg.h -rw-r--r-- 12.1 KB
srp.h -rw-r--r-- 7.1 KB
viosrp.h -rw-r--r-- 5.4 KB

back to top