]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Migrate vlocation fields to 64-bit
authorTina Ruchandani <ruchandani.tina@gmail.com>
Thu, 16 Mar 2017 16:27:46 +0000 (16:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 16 Mar 2017 16:27:46 +0000 (16:27 +0000)
commit814ea822c920dff27f67d8d5c902e6393c6e115f
treec178c955a9522e7e4e3a1720ccd74551a0e71221
parenta4e6b29cb9dace914e618baf0a9d4ca5f966697b
afs: Migrate vlocation fields to 64-bit

get_seconds() returns real wall-clock seconds. On 32-bit systems
this value will overflow in year 2038 and beyond. This patch changes
afs's vlocation record to use ktime_get_real_seconds() instead, for the
fields time_of_death and update_at.

Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/callback.c
fs/afs/internal.h
fs/afs/server.c
fs/afs/vlocation.c