Re: [PATCH 2/3] cifs: Expand max share name length to 256

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

 



This and following patch merged into cifs-2.6.git for-next (and for-3.12)

On Fri, Aug 9, 2013 at 7:47 AM,  <scott.lovenberg@xxxxxxxxx> wrote:
> From: Scott Lovenberg <scott.lovenberg@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> Reviewed-by: Jeff Layton <jlayton@xxxxxxxxxx>
> ---
>  include/uapi/linux/cifs/cifs_mount.h | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/cifs/cifs_mount.h b/include/uapi/linux/cifs/cifs_mount.h
> index 19063fe..5ac43f0 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 */
> --
> 1.8.1.4
>



-- 
Thanks,

Steve
--
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