projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1829579
)
[CIFS] Fix build warning
author
Steve French
<sfrench@us.ibm.com>
Fri, 1 May 2009 03:50:42 +0000
(
03:50
+0000)
committer
Steve French
<sfrench@us.ibm.com>
Fri, 1 May 2009 03:50:42 +0000
(
03:50
+0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_dfs_ref.c
patch
|
blob
|
history
diff --git
a/fs/cifs/cifs_dfs_ref.c
b/fs/cifs/cifs_dfs_ref.c
index 896b08fb1ec05389bbbed3516a9778617bd810e0..83d62759c7c7a42537674faa4b05958292076c08 100644
(file)
--- a/
fs/cifs/cifs_dfs_ref.c
+++ b/
fs/cifs/cifs_dfs_ref.c
@@
-340,9
+340,9
@@
cifs_dfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd)
cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR);
for (i = 0; i < num_referrals; i++) {
+ int len;
dump_referral(referrals+i);
/* connect to a node */
- int len;
len = strlen(referrals[i].node_name);
if (len < 2) {
cERROR(1, ("%s: Net Address path too short: %s",