diff options
Diffstat (limited to 'fs/cifs/cifsencrypt.c')
-rw-r--r-- | fs/cifs/cifsencrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsencrypt.c b/fs/cifs/cifsencrypt.c index db768cb67e38..6a0d741159f0 100644 --- a/fs/cifs/cifsencrypt.c +++ b/fs/cifs/cifsencrypt.c | |||
@@ -99,7 +99,7 @@ static int cifs_calc_signature(const struct kvec *iov, int n_vec, | |||
99 | } | 99 | } |
100 | 100 | ||
101 | /* must be called with server->srv_mutex held */ | 101 | /* must be called with server->srv_mutex held */ |
102 | int cifs_sign_smb2(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, | 102 | int cifs_sign_smbv(struct kvec *iov, int n_vec, struct TCP_Server_Info *server, |
103 | __u32 *pexpected_response_sequence_number) | 103 | __u32 *pexpected_response_sequence_number) |
104 | { | 104 | { |
105 | int rc = 0; | 105 | int rc = 0; |
@@ -143,7 +143,7 @@ int cifs_sign_smb(struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, | |||
143 | iov.iov_base = cifs_pdu; | 143 | iov.iov_base = cifs_pdu; |
144 | iov.iov_len = be32_to_cpu(cifs_pdu->smb_buf_length) + 4; | 144 | iov.iov_len = be32_to_cpu(cifs_pdu->smb_buf_length) + 4; |
145 | 145 | ||
146 | return cifs_sign_smb2(&iov, 1, server, | 146 | return cifs_sign_smbv(&iov, 1, server, |
147 | pexpected_response_sequence_number); | 147 | pexpected_response_sequence_number); |
148 | } | 148 | } |
149 | 149 | ||