diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-02-02 07:34:44 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-03 11:17:30 -0800 |
commit | fe0c72f3db11be752e7c06efad9fa27af1327c47 (patch) | |
tree | d18ecf1c437ae64936226349ebaab124a1fb811a /fs/udf | |
parent | a9bcfd1d176eb2109f74e1e4eeabdedf22321003 (diff) | |
download | linux-fe0c72f3db11be752e7c06efad9fa27af1327c47.tar.bz2 |
socket: move compat timeout handling into sock.c
This is a cleanup to prepare for the addition of 64-bit time_t
in O_SNDTIMEO/O_RCVTIMEO. The existing compat handler seems
unnecessarily complex and error-prone, moving it all into the
main setsockopt()/getsockopt() implementation requires half
as much code and is easier to extend.
32-bit user space can now use old_timeval32 on both 32-bit
and 64-bit machines, while 64-bit code can use
__old_kernel_timeval.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/udf')
0 files changed, 0 insertions, 0 deletions