diff options
author | Steve French <sfrench@us.ibm.com> | 2006-04-24 12:24:54 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-04-24 12:24:54 -0400 |
commit | 301dc3e6f6ea83703fa52919c00e60661da5a8fe (patch) | |
tree | 83c2d250eee5b2583ac317e61a5f424517785cf6 /fs/cifs/connect.c | |
parent | 6b426e785cb81e53dc2fc4dcf997661472b470ef (diff) |
[CIFS] Fix compile error when CONFIG_CIFS_EXPERIMENTAL is undefined
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r-- | fs/cifs/connect.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index aaf151cb5822..d2ec806a4f32 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c | |||
@@ -3447,10 +3447,13 @@ int cifs_setup_session(unsigned int xid, struct cifsSesInfo *pSesInfo, | |||
3447 | pSesInfo->server->secMode, | 3447 | pSesInfo->server->secMode, |
3448 | pSesInfo->server->capabilities, | 3448 | pSesInfo->server->capabilities, |
3449 | pSesInfo->server->timeZone)); | 3449 | pSesInfo->server->timeZone)); |
3450 | #ifdef CONFIG_CIFS_EXPERIMENTAL | ||
3450 | if(experimEnabled > 1) | 3451 | if(experimEnabled > 1) |
3451 | rc = CIFS_SessSetup(xid, pSesInfo, CIFS_NTLM /* type */, | 3452 | rc = CIFS_SessSetup(xid, pSesInfo, CIFS_NTLM /* type */, |
3452 | &ntlmv2_flag, nls_info); | 3453 | &ntlmv2_flag, nls_info); |
3453 | else if (extended_security | 3454 | else |
3455 | #endif | ||
3456 | if (extended_security | ||
3454 | && (pSesInfo->capabilities & CAP_EXTENDED_SECURITY) | 3457 | && (pSesInfo->capabilities & CAP_EXTENDED_SECURITY) |
3455 | && (pSesInfo->server->secType == NTLMSSP)) { | 3458 | && (pSesInfo->server->secType == NTLMSSP)) { |
3456 | cFYI(1, ("New style sesssetup")); | 3459 | cFYI(1, ("New style sesssetup")); |