diff options
author | Steve French <sfrench@us.ibm.com> | 2007-10-31 22:12:10 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-10-31 22:12:10 -0400 |
commit | 1fb64bfc45b9ee5092b72474a5df216b8a0c7ff9 (patch) | |
tree | bd3db1436f5b021e6052dcf73d2e7fd147fa73a6 /fs/cifs/CHANGES | |
parent | 953f868138dbf4300196780379476ab9f07f263a (diff) |
[CIFS] when mount helper missing fix slash wrong direction in share
Kernel bugzilla bug #9228
If mount helper (mount.cifs) missing, mounts with form like
//10.11.12.13/c$ would not work (only mounts with slash e.g.
//10.11.12.13\\c$ would work) due to problem with slash supposed
to be converted to backslash by the mount helper (which is not
there).
If we fail on converting an IPv4 address in in4_pton then
try to canonicalize the first slash (ie between sharename
and host ip address) if necessary. If we have to retry
to check for IPv6 address the slash is already converted
if necessary.
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/CHANGES')
-rw-r--r-- | fs/cifs/CHANGES | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/cifs/CHANGES b/fs/cifs/CHANGES index c65c9da863f3..6d3e736612ba 100644 --- a/fs/cifs/CHANGES +++ b/fs/cifs/CHANGES | |||
@@ -14,7 +14,10 @@ bigendian architectures. Fix possible memory corruption when | |||
14 | EAGAIN returned on kern_recvmsg. Return better error if server | 14 | EAGAIN returned on kern_recvmsg. Return better error if server |
15 | requires packet signing but client has disabled it. When mounted | 15 | requires packet signing but client has disabled it. When mounted |
16 | with cifsacl mount option - mode bits are approximated based | 16 | with cifsacl mount option - mode bits are approximated based |
17 | on the contents of the files ACL. | 17 | on the contents of the ACL of the file or directory. When cifs |
18 | mount helper is missing convert make sure that UNC name | ||
19 | has backslash (not forward slash) between ip address of server | ||
20 | and the share name. | ||
18 | 21 | ||
19 | Version 1.50 | 22 | Version 1.50 |
20 | ------------ | 23 | ------------ |