summaryrefslogtreecommitdiffstats
path: root/fs/afs/vlclient.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-11-02 16:27:48 +0100
committerDavid Howells <dhowells@redhat.com>2017-11-13 16:38:17 +0100
commit97e3043ad82c93b7c2e3c4bfc518f7401f175821 (patch)
tree16b3051641132a2af2bb95d9433c0508dd5c93cc /fs/afs/vlclient.c
parentafs: Consolidate abort_to_error translators (diff)
downloadlinux-97e3043ad82c93b7c2e3c4bfc518f7401f175821.tar.xz
linux-97e3043ad82c93b7c2e3c4bfc518f7401f175821.zip
afs: Condense afs_call's reply{,2,3,4} into an array
Condense struct afs_call's reply anchor members - reply{,2,3,4} - into an array. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/vlclient.c')
-rw-r--r--fs/afs/vlclient.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/afs/vlclient.c b/fs/afs/vlclient.c
index 66e62be07b63..aa79fe3f168b 100644
--- a/fs/afs/vlclient.c
+++ b/fs/afs/vlclient.c
@@ -32,7 +32,7 @@ static int afs_deliver_vl_get_entry_by_xxx(struct afs_call *call)
return ret;
/* unmarshall the reply once we've received all of it */
- entry = call->reply;
+ entry = call->reply[0];
bp = call->buffer;
for (loop = 0; loop < 64; loop++)
@@ -135,7 +135,7 @@ int afs_vl_get_entry_by_name(struct afs_net *net,
return -ENOMEM;
call->key = key;
- call->reply = entry;
+ call->reply[0] = entry;
/* marshall the parameters */
bp = call->request;
@@ -170,7 +170,7 @@ int afs_vl_get_entry_by_id(struct afs_net *net,
return -ENOMEM;
call->key = key;
- call->reply = entry;
+ call->reply[0] = entry;
/* marshall the parameters */
bp = call->request;