summaryrefslogtreecommitdiff
path: root/fs/afs/internal.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2017-11-02 18:27:48 +0300
committerDavid Howells <dhowells@redhat.com>2017-11-13 18:38:17 +0300
commit97e3043ad82c93b7c2e3c4bfc518f7401f175821 (patch)
tree16b3051641132a2af2bb95d9433c0508dd5c93cc /fs/afs/internal.h
parentf780c8ea0e73c0d371ffbebff91bb7555697219f (diff)
downloadlinux-97e3043ad82c93b7c2e3c4bfc518f7401f175821.tar.xz
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/internal.h')
-rw-r--r--fs/afs/internal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h
index ba31a386bb2d..77a83e1bf56f 100644
--- a/fs/afs/internal.h
+++ b/fs/afs/internal.h
@@ -81,10 +81,7 @@ struct afs_call {
struct address_space *mapping; /* page set */
struct afs_writeback *wb; /* writeback being performed */
void *buffer; /* reply receive buffer */
- void *reply; /* reply buffer (first part) */
- void *reply2; /* reply buffer (second part) */
- void *reply3; /* reply buffer (third part) */
- void *reply4; /* reply buffer (fourth part) */
+ void *reply[4]; /* Where to put the reply */
pgoff_t first; /* first page in mapping to deal with */
pgoff_t last; /* last page in mapping to deal with */
size_t offset; /* offset into received data store */