OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
896b08f
..
83d6275
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",