09 Sep, 2013

3 commits

  • MAX_SERVER_SIZE has been moved to cifs_mount.h and renamed
    CIFS_NI_MAXHOST for clarity. It has been expanded to 1024 as the
    previous value of 16 was very short.

    Signed-off-by: Scott Lovenberg
    Reviewed-by: Jeff Layton
    Signed-off-by: Steve French

    Scott Lovenberg
     
  • 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
    Reviewed-by: Jeff Layton
    Signed-off-by: Steve French

    Scott Lovenberg
     
  • 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
    Reviewed-by: Chen Gang
    Signed-off-by: Steve French

    Scott Lovenberg