diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2018-06-01 02:53:05 +0200 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2018-06-01 04:30:51 +0200 |
commit | e4dc31fe9ace8f0134f835d3f34fb84f598deefc (patch) | |
tree | 7ee0aac5ab1c9f123505fd2e8aae4cae214a096f /fs/cifs/smb2proto.h | |
parent | cifs: update smb2_calc_size to use smb2_sync_hdr instead of smb2_hdr (diff) | |
download | linux-e4dc31fe9ace8f0134f835d3f34fb84f598deefc.tar.xz linux-e4dc31fe9ace8f0134f835d3f34fb84f598deefc.zip |
cifs: change smb2_get_data_area_len to take a smb2_sync_hdr as argument
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2proto.h')
-rw-r--r-- | fs/cifs/smb2proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/smb2proto.h b/fs/cifs/smb2proto.h index 4b0db6af7fe7..908555b1c6b5 100644 --- a/fs/cifs/smb2proto.h +++ b/fs/cifs/smb2proto.h @@ -37,7 +37,8 @@ extern int map_smb2_to_linux_error(char *buf, bool log_err); extern int smb2_check_message(char *buf, unsigned int length, struct TCP_Server_Info *server); extern unsigned int smb2_calc_size(void *buf, struct TCP_Server_Info *server); -extern char *smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *hdr); +extern char *smb2_get_data_area_len(int *off, int *len, + struct smb2_sync_hdr *shdr); extern __le16 *cifs_convert_path_to_utf16(const char *from, struct cifs_sb_info *cifs_sb); |