]> 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)
commitacbdcf776a419c36a48bacc7d1db625fd3fab30c
treec178c955a9522e7e4e3a1720ccd74551a0e71221
parentb4fa1e94734d3d5a5120d39655558b37ac80600b
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