dlm: use SO_SNDTIMEO_NEW instead of SO_SNDTIMEO_OLD
authorArnd Bergmann <arnd@arndb.de>
Fri, 25 Oct 2019 20:28:01 +0000 (22:28 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 18 Dec 2019 17:07:31 +0000 (18:07 +0100)
commit5311f707b49c2b094179704f4df6d9933cc95085
tree19d00c5bffcac6e0d8c79f8b28d02ee0b003dae2
parent74b5cab6cc8554d759c3cd5aeba884bd8b12f22e
dlm: use SO_SNDTIMEO_NEW instead of SO_SNDTIMEO_OLD

Eliminate one more use of 'struct timeval' from the kernel so
we can eventually remove the definition as well.

The kernel supports the new format with a 64-bit time_t version
of timeval here, so use that instead of the old timeval.

Acked-by: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
fs/dlm/lowcomms.c