/* For text based NFSv2/v3 mounts, the mount protocol transport default settings should depend upon the specified NFS transport.  */
static void nfs_set_mount_transport_protocol(struct nfs_parsed_mount_data *mnt)
/* For text based NFSv2/v3 mounts, the mount protocol transport default settings should depend upon the specified NFS transport.  */
static void nfs_set_mount_transport_protocol(struct nfs_parsed_mount_data *mnt)
{
	nfs_validate_transport_protocol(mnt);
	if (mnt->mount_server.protocol == XPRT_TRANSPORT_UDP ||
	    mnt->mount_server.protocol == XPRT_TRANSPORT_TCP)
			return;
	switch (mnt->nfs_server.protocol) {
	case XPRT_TRANSPORT_UDP:
		mnt->mount_server.protocol = XPRT_TRANSPORT_UDP;
		break;
	case XPRT_TRANSPORT_TCP:
	case XPRT_TRANSPORT_RDMA:
		mnt->mount_server.protocol = XPRT_TRANSPORT_TCP;
	}
}