mirror of https://gitee.com/openkylin/linux.git
[CIFS] missing break needed to handle < when mount option "mapchars" specified
Signed-off-by: Steve French (sfrench@us.ibm.com)
This commit is contained in:
parent
ff0d2f90fd
commit
67594feb4b
|
@ -371,7 +371,7 @@ A partial list of the supported mount options follows:
|
||||||
on newly created files, directories, and devices (create,
|
on newly created files, directories, and devices (create,
|
||||||
mkdir, mknod) which will result in the server setting the
|
mkdir, mknod) which will result in the server setting the
|
||||||
uid and gid to the default (usually the server uid of the
|
uid and gid to the default (usually the server uid of the
|
||||||
usern who mounted the share). Letting the server (rather than
|
user who mounted the share). Letting the server (rather than
|
||||||
the client) set the uid and gid is the default. This
|
the client) set the uid and gid is the default. This
|
||||||
parameter has no effect if the CIFS Unix Extensions are not
|
parameter has no effect if the CIFS Unix Extensions are not
|
||||||
negotiated.
|
negotiated.
|
||||||
|
@ -384,7 +384,7 @@ A partial list of the supported mount options follows:
|
||||||
client (e.g. when the application is doing large sequential
|
client (e.g. when the application is doing large sequential
|
||||||
reads bigger than page size without rereading the same data)
|
reads bigger than page size without rereading the same data)
|
||||||
this can provide better performance than the default
|
this can provide better performance than the default
|
||||||
behavior which caches reads (reaadahead) and writes
|
behavior which caches reads (readahead) and writes
|
||||||
(writebehind) through the local Linux client pagecache
|
(writebehind) through the local Linux client pagecache
|
||||||
if oplock (caching token) is granted and held. Note that
|
if oplock (caching token) is granted and held. Note that
|
||||||
direct allows write operations larger than page size
|
direct allows write operations larger than page size
|
||||||
|
|
|
@ -571,6 +571,7 @@ cifs_convertUCSpath(char *target, const __le16 * source, int maxlen,
|
||||||
break;
|
break;
|
||||||
case UNI_LESSTHAN:
|
case UNI_LESSTHAN:
|
||||||
target[j] = '<';
|
target[j] = '<';
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
len = cp->uni2char(src_char, &target[j],
|
len = cp->uni2char(src_char, &target[j],
|
||||||
NLS_MAX_CHARSET_SIZE);
|
NLS_MAX_CHARSET_SIZE);
|
||||||
|
|
Loading…
Reference in New Issue