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)
commit8a79790bf0b7da216627ffb85f52cfb4adbf1e4e
treec178c955a9522e7e4e3a1720ccd74551a0e71221
parentdf8a09d1b8f9e693ec3f6b7e0162fc817f2cf0db
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