summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
diff options
context:
space:
mode:
authorRonnie Sahlberg2018-04-09 10:06:28 +0200
committerSteve French2018-04-13 03:32:48 +0200
commite19b2bc0790a1c25b226815ce132c06274b1ba87 (patch)
tree671e8abfb8ad3a01bb92b6250e06093e6335e8b5 /fs/cifs/cifsglob.h
parentsmb3.11: replace a 4 with server->vals->header_preamble_size (diff)
downloadkernel-qcow2-linux-e19b2bc0790a1c25b226815ce132c06274b1ba87.tar.gz
kernel-qcow2-linux-e19b2bc0790a1c25b226815ce132c06274b1ba87.tar.xz
kernel-qcow2-linux-e19b2bc0790a1c25b226815ce132c06274b1ba87.zip
cifs: add resp_buf_size to the mid_q_entry structure
and get rid of some more calls to get_rfc1002_length() Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 5c1568ccd67d..cb950a5fa078 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -1376,6 +1376,7 @@ struct mid_q_entry {
mid_handle_t *handle; /* call handle mid callback */
void *callback_data; /* general purpose pointer for callback */
void *resp_buf; /* pointer to received SMB header */
+ unsigned int resp_buf_size;
int mid_state; /* wish this were enum but can not pass to wait_event */
unsigned int mid_flags;
__le16 command; /* smb command code */