cifs: use the chans_need_reconnect bitmap for reconnect status
[linux-2.6-microblaze.git] / fs / cifs / smb2misc.c
index cdcdef3..396d5af 100644 (file)
@@ -851,12 +851,12 @@ smb2_handle_cancelled_mid(struct mid_q_entry *mid, struct TCP_Server_Info *serve
  * @nvec:      number of array entries for the iov
  */
 int
-smb311_update_preauth_hash(struct cifs_ses *ses, struct kvec *iov, int nvec)
+smb311_update_preauth_hash(struct cifs_ses *ses, struct TCP_Server_Info *server,
+                          struct kvec *iov, int nvec)
 {
        int i, rc;
        struct sdesc *d;
        struct smb2_hdr *hdr;
-       struct TCP_Server_Info *server = cifs_ses_server(ses);
 
        hdr = (struct smb2_hdr *)iov[0].iov_base;
        /* neg prot are always taken */