diff options
author | David Howells <dhowells@redhat.com> | 2019-05-09 17:56:53 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-05-16 16:25:21 +0100 |
commit | 781070551c26def14784ce5ca14194d7ca234b04 (patch) | |
tree | f46fa203252a392f518fd9edda109f460e7652d5 /fs/afs/inode.c | |
parent | 3b05e528cb9ef1c7b251705acca46d8deb80183c (diff) | |
download | linux-781070551c26def14784ce5ca14194d7ca234b04.tar.gz linux-781070551c26def14784ce5ca14194d7ca234b04.tar.bz2 linux-781070551c26def14784ce5ca14194d7ca234b04.zip |
afs: Fix calculation of callback expiry time
Fix the calculation of the expiry time of a callback promise, as obtained
from operations like FS.FetchStatus and FS.FetchData.
The time should be based on the timestamp of the first DATA packet in the
reply and the calculation needs to turn the ktime_t timestamp into a
time64_t.
Fixes: c435ee34551e ("afs: Overhaul the callback handling")
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/inode.c')
0 files changed, 0 insertions, 0 deletions