diff options
author | David Howells <dhowells@redhat.com> | 2020-04-24 11:21:14 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-04-24 16:32:49 +0100 |
commit | 69cf3978f3ada4e54beae4ad44868b5627864884 (patch) | |
tree | d616b4cd3a121ee9f0f54f1384a314c3932ea938 /fs/afs/volume.c | |
parent | be59167c8f27592e79c0044a0bbc515b38d5eace (diff) | |
download | linux-69cf3978f3ada4e54beae4ad44868b5627864884.tar.gz linux-69cf3978f3ada4e54beae4ad44868b5627864884.tar.bz2 linux-69cf3978f3ada4e54beae4ad44868b5627864884.zip |
afs: Fix to actually set AFS_SERVER_FL_HAVE_EPOCH
AFS keeps track of the epoch value from the rxrpc protocol to note (a) when
a fileserver appears to have restarted and (b) when different endpoints of
a fileserver do not appear to be associated with the same fileserver
(ie. all probes back from a fileserver from all of its interfaces should
carry the same epoch).
However, the AFS_SERVER_FL_HAVE_EPOCH flag that indicates that we've
received the server's epoch is never set, though it is used.
Fix this to set the flag when we first receive an epoch value from a probe
sent to the filesystem client from the fileserver.
Fixes: 3bf0fb6f33dd ("afs: Probe multiple fileservers simultaneously")
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/volume.c')
0 files changed, 0 insertions, 0 deletions