rxrpc: Replace get_seconds with ktime_get_seconds
authorKsenija Stanojevic <ksenija.stanojevic@gmail.com>
Thu, 17 Sep 2015 16:12:53 +0000 (18:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2015 04:53:56 +0000 (21:53 -0700)
commit22a3f9a2043be28cde6d272e786874ba0d6afe15
treeaccd07556d304f3fd0113957c4da2006b1acde92
parent62e3b1d01c4ebbf11702a27e0c749d27195ba043
rxrpc: Replace get_seconds with ktime_get_seconds

Replace time_t type and get_seconds function which are not y2038 safe
on 32-bit systems. Function ktime_get_seconds use monotonic instead of
real time and therefore will not cause overflow.

Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/ar-connection.c
net/rxrpc/ar-internal.h
net/rxrpc/ar-transport.c