/* Initialize timeout values */ timeparms.to_initval = data->timeo * HZ / 10; timeparms.to_retries = data->retrans; timeparms.to_maxval  = tcp ? RPC_MAX_TCP_TIMEOUT : RPC_MAX_UDP_TIMEOUT; timeparms.to_exponential = 1;  if (!timeparms.to_initval) timeparms.to_initval = (tcp ? 600 : 11) * HZ / 10; if (!timeparms.to_retries) timeparms.to_retries = 5; 
nfs_init_timeout_values(&timeparms, proto, data->timeo, data->retrans); 
nfs_create_client(struct nfs_server *server, const struct nfs_mount_data *data){	struct rpc_timeout	timeparms;	struct rpc_xprt		*xprt = NULL;	struct rpc_clnt		*clnt = NULL;	int			tcp   = (data->flags & NFS_MOUNT_TCP);	/* Initialize timeout values */	timeparms.to_initval = data->timeo * HZ / 10;	timeparms.to_retries = data->retrans;	timeparms.to_maxval  = tcp ? RPC_MAX_TCP_TIMEOUT : RPC_MAX_UDP_TIMEOUT;	timeparms.to_exponential = 1;	if (!timeparms.to_initval)		timeparms.to_initval = (tcp ? 600 : 11) * HZ / 10;	if (!timeparms.to_retries)		timeparms.to_retries = 5;	/* create transport and client */	xprt = xprt_create_proto(tcp ? IPPROTO_TCP : IPPROTO_UDP,				 &server->addr, &timeparms);	if (IS_ERR(xprt)) {		dprintk("%s: cannot create RPC transport. Error = %ld\n",				__FUNCTION__, PTR_ERR(xprt));		return (struct rpc_clnt *)xprt;	}	clnt = rpc_create_client(xprt, server->hostname, &nfs_program,				 server->rpc_ops->version, data->pseudoflavor);	if (IS_ERR(clnt)) {		dprintk("%s: cannot create RPC client. Error = %ld\n",				__FUNCTION__, PTR_ERR(xprt));		goto out_fail;	}	clnt->cl_intr     = 1;	clnt->cl_softrtry = 1;	clnt->cl_chatty   = 1;	return clnt;out_fail:	return clnt;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/eab5c084b858fd95a873fc2b97de9a9ad937b4ed/inode.c/buggy/fs/nfs/inode.c