diff options
Diffstat (limited to 'net/sunrpc/xprtsock.c')
| -rw-r--r-- | net/sunrpc/xprtsock.c | 17 | 
1 files changed, 8 insertions, 9 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index c56a66cdf4ac..e35760f238a4 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -829,7 +829,7 @@ xs_stream_record_marker(struct xdr_buf *xdr)   *   EAGAIN:	The socket was blocked, please call again later to   *		complete the request   * ENOTCONN:	Caller needs to invoke connect logic then call again - *    other:	Some other error occured, the request was not sent + *    other:	Some other error occurred, the request was not sent   */  static int xs_local_send_request(struct rpc_rqst *req)  { @@ -1665,7 +1665,7 @@ static int xs_bind(struct sock_xprt *transport, struct socket *sock)  	 * This ensures that we can continue to establish TCP  	 * connections even when all local ephemeral ports are already  	 * a part of some TCP connection.  This makes no difference -	 * for UDP sockets, but also doens't harm them. +	 * for UDP sockets, but also doesn't harm them.  	 *  	 * If we're asking for any reserved port (i.e. port == 0 &&  	 * transport->xprt.resvport == 1) xs_get_srcport above will @@ -1875,6 +1875,7 @@ static int xs_local_setup_socket(struct sock_xprt *transport)  		xprt->stat.connect_time += (long)jiffies -  					   xprt->stat.connect_start;  		xprt_set_connected(xprt); +		break;  	case -ENOBUFS:  		break;  	case -ENOENT: @@ -2276,10 +2277,8 @@ static void xs_tcp_setup_socket(struct work_struct *work)  	case -EHOSTUNREACH:  	case -EADDRINUSE:  	case -ENOBUFS: -		/* -		 * xs_tcp_force_close() wakes tasks with -EIO. -		 * We need to wake them first to ensure the -		 * correct error code. +		/* xs_tcp_force_close() wakes tasks with a fixed error code. +		 * We need to wake them first to ensure the correct error code.  		 */  		xprt_wake_pending_tasks(xprt, status);  		xs_tcp_force_close(xprt); @@ -2380,7 +2379,7 @@ static void xs_error_handle(struct work_struct *work)  }  /** - * xs_local_print_stats - display AF_LOCAL socket-specifc stats + * xs_local_print_stats - display AF_LOCAL socket-specific stats   * @xprt: rpc_xprt struct containing statistics   * @seq: output file   * @@ -2409,7 +2408,7 @@ static void xs_local_print_stats(struct rpc_xprt *xprt, struct seq_file *seq)  }  /** - * xs_udp_print_stats - display UDP socket-specifc stats + * xs_udp_print_stats - display UDP socket-specific stats   * @xprt: rpc_xprt struct containing statistics   * @seq: output file   * @@ -2433,7 +2432,7 @@ static void xs_udp_print_stats(struct rpc_xprt *xprt, struct seq_file *seq)  }  /** - * xs_tcp_print_stats - display TCP socket-specifc stats + * xs_tcp_print_stats - display TCP socket-specific stats   * @xprt: rpc_xprt struct containing statistics   * @seq: output file   *  | 
