commit | 781070551c26def14784ce5ca14194d7ca234b04 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu May 09 17:56:53 2019 +0100 |
committer | David Howells <dhowells@redhat.com> | Thu May 16 16:25:21 2019 +0100 |
tree | f46fa203252a392f518fd9edda109f460e7652d5 | |
parent | 3b05e528cb9ef1c7b251705acca46d8deb80183c [diff] |
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>