io_getevents: Use timespec64 to represent timeouts
authorDeepa Dinamani <deepa.kernel@gmail.com>
Sat, 5 Aug 2017 04:12:32 +0000 (21:12 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 19 Sep 2017 21:55:59 +0000 (17:55 -0400)
commitfa2e62a54003419b06f1de7836dca51b368d0872
tree6028b39e1a4ac42bcbbdbdfea9c7a4b2ae2b5904
parent36819ad093e16a4b06c53f98d4a5afc55530bbcb
io_getevents: Use timespec64 to represent timeouts

struct timespec is not y2038 safe. Use y2038 safe
struct timespec64 to represent timeouts.
The system call interface itself will be changed as
part of different series.

Timeouts will not really need more than 32 bits.
But, replacing these with timespec64 helps verification
of a y2038 safe kernel by getting rid of timespec
internally.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: linux-aio@kvack.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c