commit | 7c5e628f95b440b69332b1ed3eb112648fc8f7ff | [log] [tgz] |
---|---|---|
author | Igor Mammedov <niallain@gmail.com> | Thu May 08 20:48:42 2008 +0000 |
committer | Steve French <sfrench@us.ibm.com> | Thu May 08 20:48:42 2008 +0000 |
tree | a75a077ca4bccd71fa708b4761e755295b27fed4 | |
parent | cf432eb50ffd03572c08a006f44e0069957cf300 [diff] [blame] |
[CIFS] Fixed build warning in is_ip Signed-off-by: Igor Mammedov <niallain@gmail.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c index 957998e..791ca5c 100644 --- a/fs/cifs/connect.c +++ b/fs/cifs/connect.c
@@ -1302,6 +1302,9 @@ "begin with // or \\\\ \n"); return 1; } + value = strpbrk(vol->UNC+2, "/\\"); + if (value) + *value = '\\'; } else { printk(KERN_WARNING "CIFS: UNC name too long\n"); return 1;