Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
2d6d589d
Commit
2d6d589d
authored
Apr 09, 2009
by
Steve French
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CIFS] remove some build warnings
Signed-off-by:
Steve French
<
sfrench@us.ibm.com
>
parent
fbec9ab9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
fs/cifs/connect.c
fs/cifs/connect.c
+5
-3
No files found.
fs/cifs/connect.c
View file @
2d6d589d
...
@@ -2231,6 +2231,7 @@ cleanup_volume_info(struct smb_vol **pvolume_info)
...
@@ -2231,6 +2231,7 @@ cleanup_volume_info(struct smb_vol **pvolume_info)
return
;
return
;
}
}
#ifdef CONFIG_CIFS_DFS_UPCALL
/* build_path_to_root returns full path to root when
/* build_path_to_root returns full path to root when
* we do not have an exiting connection (tcon) */
* we do not have an exiting connection (tcon) */
static
char
*
static
char
*
...
@@ -2260,6 +2261,7 @@ build_unc_path_to_root(const struct smb_vol *volume_info,
...
@@ -2260,6 +2261,7 @@ build_unc_path_to_root(const struct smb_vol *volume_info,
full_path
[
unc_len
+
cifs_sb
->
prepathlen
]
=
0
;
/* add trailing null */
full_path
[
unc_len
+
cifs_sb
->
prepathlen
]
=
0
;
/* add trailing null */
return
full_path
;
return
full_path
;
}
}
#endif
int
int
cifs_mount
(
struct
super_block
*
sb
,
struct
cifs_sb_info
*
cifs_sb
,
cifs_mount
(
struct
super_block
*
sb
,
struct
cifs_sb_info
*
cifs_sb
,
...
@@ -2272,12 +2274,12 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
...
@@ -2272,12 +2274,12 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
struct
cifsTconInfo
*
tcon
=
NULL
;
struct
cifsTconInfo
*
tcon
=
NULL
;
struct
TCP_Server_Info
*
srvTcp
=
NULL
;
struct
TCP_Server_Info
*
srvTcp
=
NULL
;
char
*
full_path
;
char
*
full_path
;
char
*
mount_data
=
mount_data_global
;
#ifdef CONFIG_CIFS_DFS_UPCALL
struct
dfs_info3_param
*
referrals
=
NULL
;
struct
dfs_info3_param
*
referrals
=
NULL
;
unsigned
int
num_referrals
=
0
;
unsigned
int
num_referrals
=
0
;
char
*
mount_data
=
mount_data_global
;
try_mount_again:
try_mount_again:
#endif
full_path
=
NULL
;
full_path
=
NULL
;
xid
=
GetXid
();
xid
=
GetXid
();
...
...
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