cifs.mount: mapchars + utf8 = loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to mount a smb share with both "mapchars" and
"iocharset=utf8" options and it seems to be bogus.
I must used mapchars option because some folder names contain
non-ascii characters and I must used iocharset=utf8 because some file
names contain question marks.

I have searched on the internet and found a very simple patch for a
2.6.32 kernel (https://bugzilla.samba.org/show_bug.cgi?id=6767)

--- orig/linux-2.6.32/fs/cifs/misc.c 2009-12-03 04:51:21.000000000 +0100
+++ linux-2.6.32/fs/cifs/misc.c 2011-10-09 22:25:10.767951322 +0200
@@ -713,7 +713,7 @@
     }

 ctoUCS_out:
- return i;
+ return j;
 }

But I'm on Ubuntu 12.04 with a 3.2.0-31 kernel and there is too much
differences for me between the two misc.c files and I'm not able to
report the patch in my kernel.

Did someone have an idea ?

Thanks,
Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux