diff options
author | David Howells <dhowells@redhat.com> | 2018-10-20 00:57:59 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2018-10-24 00:41:09 +0100 |
commit | 2feeaf8433c8e68de3d0a06a0ffe7742bcd13c1a (patch) | |
tree | 3df3266b2ae356ad67edf8fa5bf3491e2c865472 /fs/afs/vl_rotate.c | |
parent | 744bcd713a4eabb248246f7deccfad30c579b7f5 (diff) | |
download | linux-2feeaf8433c8e68de3d0a06a0ffe7742bcd13c1a.tar.gz linux-2feeaf8433c8e68de3d0a06a0ffe7742bcd13c1a.tar.bz2 linux-2feeaf8433c8e68de3d0a06a0ffe7742bcd13c1a.zip |
afs: Eliminate the address pointer from the address list cursor
Eliminate the address pointer from the address list cursor as it's
redundant (ac->addrs[ac->index] can be used to find the same address) and
address lists must be replaced rather than being rearranged, so is of
limited value.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/vl_rotate.c')
-rw-r--r-- | fs/afs/vl_rotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/vl_rotate.c b/fs/afs/vl_rotate.c index 5b99ea7be194..ead6dedbb561 100644 --- a/fs/afs/vl_rotate.c +++ b/fs/afs/vl_rotate.c @@ -209,7 +209,7 @@ iterate_address: if (!afs_iterate_addresses(&vc->ac)) goto next_server; - _leave(" = t %pISpc", &vc->ac.addr->transport); + _leave(" = t %pISpc", &vc->ac.alist->addrs[vc->ac.index].transport); return true; next_server: |