diff options
author | Tina Ruchandani <ruchandani.tina@gmail.com> | 2017-03-16 17:27:46 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-03-16 17:27:46 +0100 |
commit | 56e714312e7dbd6bb83b2f78d3ec19a404c7649f (patch) | |
tree | b4025669d48f4514efbc96e65f0ac967c04c98fb /fs/bfs | |
parent | afs: Migrate vlocation fields to 64-bit (diff) | |
download | linux-56e714312e7dbd6bb83b2f78d3ec19a404c7649f.tar.xz linux-56e714312e7dbd6bb83b2f78d3ec19a404c7649f.zip |
afs: Prevent callback expiry timer overflow
get_seconds() returns real wall-clock seconds. On 32-bit systems
this value will overflow in year 2038 and beyond. This patch changes
afs_vnode record to use ktime_get_real_seconds() instead, for the
fields cb_expires and cb_expires_at.
Signed-off-by: Tina Ruchandani <ruchandani.tina@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/bfs')
0 files changed, 0 insertions, 0 deletions