cifs: consolidate reconnect logic in smb_init routines
authorJeff Layton <jlayton@redhat.com>
Thu, 3 Sep 2009 16:07:17 +0000 (12:07 -0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 3 Sep 2009 15:30:48 +0000 (15:30 +0000)
commit9162ab2000e08be076883b5a295a771223264ce8
tree95a51f8e1fe17a3916ed77554ac6de7e0c82b556
parent6ab409b53dcaf28f83d518a6702f904b7cee3f41
cifs: consolidate reconnect logic in smb_init routines

There's a large cut and paste chunk of code in smb_init and
small_smb_init to handle reconnects. Break it out into a separate
function, clean it up and have both routines call it.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifssmb.c