diff options
author | Scott Lovenberg <scott.lovenberg@gmail.com> | 2013-08-09 08:47:18 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-09-08 14:34:17 -0500 |
commit | 54fcf270dee6ed9d27e23b94129788b758df1e6b (patch) | |
tree | 9da08ed47513cfbbafa197601d09a4df3c5d2e9f /include/uapi | |
parent | 8c3a2b4c420c5b988005b8697b7404ced076aaaa (diff) |
cifs: Expand max share name length to 256
The old max share name length limit was 80 due to Windows NET SHARE
command not allowing more than that. However, share names can be much
longer. This is a more reasonable maximum share name length.
Signed-off-by: Scott Lovenberg <scott.lovenberg@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/cifs/cifs_mount.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/cifs/cifs_mount.h b/include/uapi/linux/cifs/cifs_mount.h index 19063fef621..5ac43f04f74 100644 --- a/include/uapi/linux/cifs/cifs_mount.h +++ b/include/uapi/linux/cifs/cifs_mount.h @@ -20,6 +20,7 @@ #define CIFS_MAX_DOMAINNAME_LEN 256 /* max fully qualified domain name */ #define CIFS_MAX_USERNAME_LEN 256 /* reasonable max for current servers */ #define CIFS_MAX_PASSWORD_LEN 512 /* Windows max seems to be 256 wide chars */ -#define CIFS_MAX_SHARE_LEN 80 +#define CIFS_MAX_SHARE_LEN 256 /* reasonable max share name length */ + #endif /* _CIFS_MOUNT_H */ |