Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
3856a9d4
Commit
3856a9d4
authored
Jun 01, 2006
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] Fix minor build breaks due to cifs kconfig issues
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
7c7b25bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
fs/Kconfig
fs/Kconfig
+1
-1
fs/cifs/cifssmb.c
fs/cifs/cifssmb.c
+6
-5
No files found.
fs/Kconfig
View file @
3856a9d4
...
@@ -1731,7 +1731,7 @@ config CIFS_POSIX
...
@@ -1731,7 +1731,7 @@ config CIFS_POSIX
CIFS POSIX ACL support. If unsure, say N.
CIFS POSIX ACL support. If unsure, say N.
config CIFS_DEBUG2
config CIFS_DEBUG2
bool "Enable additional CIFS debugging routines
bool "Enable additional CIFS debugging routines
"
help
help
Enabling this option adds a few more debugging routines
Enabling this option adds a few more debugging routines
to the cifs code which slightly increases the size of
to the cifs code which slightly increases the size of
...
...
fs/cifs/cifssmb.c
View file @
3856a9d4
...
@@ -436,9 +436,9 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
...
@@ -436,9 +436,9 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
a common dialect */
a common dialect */
rc
=
-
EOPNOTSUPP
;
rc
=
-
EOPNOTSUPP
;
goto
neg_err_exit
;
goto
neg_err_exit
;
}
else
if
((
pSMBr
->
hdr
.
WordCount
==
13
)
&&
#ifdef CONFIG_CIFS_WEAK_PW_HASH
(
pSMBr
->
DialectIndex
==
LANMAN_PROT
))
{
}
else
if
((
pSMBr
->
hdr
.
WordCount
==
13
)
#ifdef CONFIG_CIFS_WEAK_PW_HASH
&&
(
pSMBr
->
DialectIndex
==
LANMAN_PROT
))
{
struct
lanman_neg_rsp
*
rsp
=
struct
lanman_neg_rsp
*
rsp
=
(
struct
lanman_neg_rsp
*
)
pSMBr
;
(
struct
lanman_neg_rsp
*
)
pSMBr
;
...
@@ -477,8 +477,9 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
...
@@ -477,8 +477,9 @@ CIFSSMBNegotiate(unsigned int xid, struct cifsSesInfo *ses)
cFYI
(
1
,(
"LANMAN negotiated"
));
/* BB removeme BB */
cFYI
(
1
,(
"LANMAN negotiated"
));
/* BB removeme BB */
#else
/* weak security disabled */
#else
/* weak security disabled */
cERROR
(
1
,(
"mount failed, cifs module not built with "
}
else
if
(
pSMBr
->
hdr
.
WordCount
==
13
)
"CIFS_WEAK_PW_HASH support"
));
cERROR
(
1
,(
"mount failed, cifs module not built "
"with CIFS_WEAK_PW_HASH support"
));
rc
=
-
EOPNOTSUPP
;
rc
=
-
EOPNOTSUPP
;
#endif
/* WEAK_PW_HASH */
#endif
/* WEAK_PW_HASH */
goto
neg_err_exit
;
goto
neg_err_exit
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment