diff options
author | David Howells <dhowells@redhat.com> | 2018-02-06 06:26:30 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-02-06 14:36:54 +0000 |
commit | 8305e579c653b127b292fcdce551e930f9560260 (patch) | |
tree | 16fba71ed0e66a45aca2b7c2dc51ab56281c12f2 /fs/afs/callback.c | |
parent | fe4d774c847398c2a45c10a780ccfde069840793 (diff) | |
download | linux-8305e579c653b127b292fcdce551e930f9560260.tar.bz2 |
afs: Need to clear responded flag in addr cursor
In afs_select_fileserver(), we need to clear the ->responded flag in the
address list when reusing it. We should also clear it in
afs_select_current_fileserver().
To this end, just memset() the object before initialising it.
Fixes: d2ddc776a458 ("afs: Overhaul volume and server record caching and fileserver rotation")
Signed-off-by: David Howells <dhowells@redhat.com>
cc: stable@vger.kernel.org
Diffstat (limited to 'fs/afs/callback.c')
0 files changed, 0 insertions, 0 deletions