]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: Move string length definitions to uapi
authorScott Lovenberg <scott.lovenberg@gmail.com>
Fri, 9 Aug 2013 12:47:17 +0000 (08:47 -0400)
committerSteve French <smfrench@gmail.com>
Sun, 8 Sep 2013 19:34:11 +0000 (14:34 -0500)
commitc0fe0ae0a8bc586583c828bb34eeff829cb19348
treea680e656fb9bd7632c77ccbef89d24ce805c9ef5
parent6e8ccb5471175ef1250e53b3f41875cc48250e9b
cifs: Move string length definitions to uapi

The max string length definitions for user name, domain name, password,
and share name have been moved into their own header file in uapi so the
mount helper can use autoconf to define them instead of keeping the
kernel side and userland side definitions in sync manually.  The names
have also been standardized with a "CIFS" prefix and "LEN" suffix.

Signed-off-by: Scott Lovenberg <scott.lovenberg@gmail.com>
Reviewed-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h
fs/cifs/connect.c
fs/cifs/sess.c
include/uapi/linux/cifs/cifs_mount.h [new file with mode: 0644]