Subject: Re: [RFC/PATCH 2/2] update sunrpc to use in-kernel sockets API

From: Sridhar Samudrala <[email-masked]>
Date: Mon, 12 Jun 2006 21:44:30 -0700

James Morris wrote:
> On Mon, 12 Jun 2006, Sridhar Samudrala wrote:
>
>   
>> -	sendpage = sock->ops->sendpage ? : sock_no_sendpage;
>> +	sendpage = kernel_sendpage ? : sock_no_sendpage;
>>     
>
> This is not equivalent.
>
>   
Actually, we could make this a simple assignment as we check for 
sock->ops->sendpage in
kernel_sendpage().
    sendpage = kernel_sendpage;

Thanks
Sridhar