diff options
author | David Howells <dhowells@redhat.com> | 2019-05-09 22:22:50 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-05-16 16:25:21 +0100 |
commit | ffba718e935402e7f42b8cd5d1e00e4a3907d361 (patch) | |
tree | a77dadcb55b3cc56cbb1f8a583448944214ba163 /fs/afs/vl_probe.c | |
parent | fefb2483dc10c736e4235984fed4f3a61c99e1c2 (diff) | |
download | linux-ffba718e935402e7f42b8cd5d1e00e4a3907d361.tar.gz linux-ffba718e935402e7f42b8cd5d1e00e4a3907d361.tar.bz2 linux-ffba718e935402e7f42b8cd5d1e00e4a3907d361.zip |
afs: Get rid of afs_call::reply[]
Replace the afs_call::reply[] array with a bunch of typed members so that
the compiler can use type-checking on them. It's also easier for the eye
to see what's going on.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/vl_probe.c')
-rw-r--r-- | fs/afs/vl_probe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/afs/vl_probe.c b/fs/afs/vl_probe.c index b05e0de04f42..beb991563939 100644 --- a/fs/afs/vl_probe.c +++ b/fs/afs/vl_probe.c @@ -33,8 +33,8 @@ static bool afs_vl_probe_done(struct afs_vlserver *server) void afs_vlserver_probe_result(struct afs_call *call) { struct afs_addr_list *alist = call->alist; - struct afs_vlserver *server = call->reply[0]; - unsigned int server_index = (long)call->reply[1]; + struct afs_vlserver *server = call->vlserver; + unsigned int server_index = call->server_index; unsigned int index = call->addr_ix; unsigned int rtt = UINT_MAX; bool have_result = false; |