Commit cf398e3a authored by Steve French's avatar Steve French

[CIFS] Fix build warning

Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent 18295796
...@@ -340,9 +340,9 @@ cifs_dfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd) ...@@ -340,9 +340,9 @@ cifs_dfs_follow_mountpoint(struct dentry *dentry, struct nameidata *nd)
cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR); cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR);
for (i = 0; i < num_referrals; i++) { for (i = 0; i < num_referrals; i++) {
int len;
dump_referral(referrals+i); dump_referral(referrals+i);
/* connect to a node */ /* connect to a node */
int len;
len = strlen(referrals[i].node_name); len = strlen(referrals[i].node_name);
if (len < 2) { if (len < 2) {
cERROR(1, ("%s: Net Address path too short: %s", cERROR(1, ("%s: Net Address path too short: %s",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment