summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_dfs_ref.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2009-05-01 03:50:42 +0000
committerSteve French <sfrench@us.ibm.com>2009-05-01 03:50:42 +0000
commitcf398e3a117b2b63da724c2365d53ce31bd7240a (patch)
tree8c3752a6e8baecfedfeca1930544c5ba1b63083c /fs/cifs/cifs_dfs_ref.c
parent18295796a30cada84e933d805072dc2248d54f98 (diff)
downloadop-kernel-dev-cf398e3a117b2b63da724c2365d53ce31bd7240a.zip
op-kernel-dev-cf398e3a117b2b63da724c2365d53ce31bd7240a.tar.gz
[CIFS] Fix build warning
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifs_dfs_ref.c')
-rw-r--r--fs/cifs/cifs_dfs_ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifs_dfs_ref.c b/fs/cifs/cifs_dfs_ref.c
index 896b08f..83d6275 100644
--- 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",
OpenPOWER on IntegriCloud