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
d036f50f
Commit
d036f50f
authored
Apr 03, 2009
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] Fix build break from recent DFS patch when DFS support not enabled
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
1bfe73c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
fs/cifs/connect.c
fs/cifs/connect.c
+4
-0
No files found.
fs/cifs/connect.c
View file @
d036f50f
...
@@ -2522,6 +2522,7 @@ remote_path_check:
...
@@ -2522,6 +2522,7 @@ remote_path_check:
/* get referral if needed */
/* get referral if needed */
if
(
rc
==
-
EREMOTE
)
{
if
(
rc
==
-
EREMOTE
)
{
#ifdef CONFIG_CIFS_DFS_UPCALL
/* convert forward to back slashes in prepath here if needed */
/* convert forward to back slashes in prepath here if needed */
if
((
cifs_sb
->
mnt_cifs_flags
&
CIFS_MOUNT_POSIX_PATHS
)
==
0
)
if
((
cifs_sb
->
mnt_cifs_flags
&
CIFS_MOUNT_POSIX_PATHS
)
==
0
)
convert_delimiter
(
cifs_sb
->
prepath
,
convert_delimiter
(
cifs_sb
->
prepath
,
...
@@ -2557,6 +2558,9 @@ remote_path_check:
...
@@ -2557,6 +2558,9 @@ remote_path_check:
kfree
(
full_path
);
kfree
(
full_path
);
goto
try_mount_again
;
goto
try_mount_again
;
}
}
#else
/* No DFS support, return error on mount */
rc
=
-
EOPNOTSUPP
;
#endif
}
}
mount_fail_check:
mount_fail_check:
...
...
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