diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-07-23 13:28:38 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2012-07-23 17:36:34 -0400 |
commit | 762a4206a3f415db0fcf2c7aed9a5e91deff221d (patch) | |
tree | a7c35666ca2072830c4668a04f5727b085e950d3 /fs/cifs/cifsencrypt.c | |
parent | d971e0656bf6e57925292dae755d36fb3c5b093d (diff) |
cifs: rename cifs_sign_smb2 to cifs_sign_smbv
"smb2" makes me think of the SMB2.x protocol, which isn't at all what
this function is for...
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
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 | ||