cifs: break negotiate protocol calls out of cifs_setup_session
authorJeff Layton <jlayton@redhat.com>
Sat, 24 Apr 2010 11:57:48 +0000 (07:57 -0400)
committerSteve French <sfrench@us.ibm.com>
Wed, 5 May 2010 23:18:27 +0000 (23:18 +0000)
commit198b5682781b97251afd9025dbf559a77969abdd
treebfe381f099e6986a833d93184b62bf9bcedfce69
parentebe6aa5ac456a13213ed563863e70dd441618a97
cifs: break negotiate protocol calls out of cifs_setup_session

So that we can reasonably set up the secType based on both the
NegotiateProtocol response and the parsed mount options.

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