From: Trond Myklebust Signed-off-by: Trond Myklebust Signed-off-by: Andrew Morton --- fs/nfs/super.c | 1 + 1 file changed, 1 insertion(+) diff -puN fs/nfs/super.c~nfs-fix-the-mount-protocol-defaults-for-binary-mounts fs/nfs/super.c --- a/fs/nfs/super.c~nfs-fix-the-mount-protocol-defaults-for-binary-mounts +++ a/fs/nfs/super.c @@ -1571,6 +1571,7 @@ static int nfs_validate_mount_data(void if (!(data->flags & NFS_MOUNT_TCP)) args->nfs_server.protocol = XPRT_TRANSPORT_UDP; + nfs_set_transport_defaults(args); /* N.B. caller will free nfs_server.hostname in all cases */ args->nfs_server.hostname = kstrdup(data->hostname, GFP_KERNEL); args->namlen = data->namlen; _