Re: [pnfs] [RFC 01/85] sunrpc: get rid of rpc_rqst.rq_bufsize

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

 



On Nov. 10, 2008, 21:59 +0200, Benny Halevy <bhalevy@xxxxxxxxxxx> wrote:
> rq_bufsize is not used.
> 
> Signed-off-by: Mike Sager <Mike.Sager@xxxxxxxxxx>
> Signed-off-by: Benny Halevy <bhalevy@xxxxxxxxxxx>
> ---
>  include/linux/sunrpc/xprt.h |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h
> index 4d80a11..11fc71d 100644
> --- a/include/linux/sunrpc/xprt.h
> +++ b/include/linux/sunrpc/xprt.h
> @@ -76,8 +76,7 @@ struct rpc_rqst {
>  	struct list_head	rq_list;
>  
>  	__u32 *			rq_buffer;	/* XDR encode buffer */
> -	size_t			rq_bufsize,

review 11-14: this was used in the past as a sanity check.
find out when/why this functionality was ripped out.

> -				rq_callsize,
> +	size_t			rq_callsize,
>  				rq_rcvsize;
>  
>  	struct xdr_buf		rq_private_buf;		/* The receive buffer
> -- 
> 1.6.0.1
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux