aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2009-04-30 23:50:42 -0400
committerSteve French <sfrench@us.ibm.com>2009-04-30 23:50:42 -0400
commitcf398e3a117b2b63da724c2365d53ce31bd7240a (patch)
tree8c3752a6e8baecfedfeca1930544c5ba1b63083c
parent18295796a30cada84e933d805072dc2248d54f98 (diff)
[CIFS] Fix build warning
Signed-off-by: Steve French <sfrench@us.ibm.com>
-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 896b08fb1ec0..83d62759c7c7 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)
340 cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR); 340 cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR);
341 341
342 for (i = 0; i < num_referrals; i++) { 342 for (i = 0; i < num_referrals; i++) {
343 int len;
343 dump_referral(referrals+i); 344 dump_referral(referrals+i);
344 /* connect to a node */ 345 /* connect to a node */
345 int len;
346 len = strlen(referrals[i].node_name); 346 len = strlen(referrals[i].node_name);
347 if (len < 2) { 347 if (len < 2) {
348 cERROR(1, ("%s: Net Address path too short: %s", 348 cERROR(1, ("%s: Net Address path too short: %s",