From: Chuck Lever Subject: Re: [RFC, PATCH 06/20] svc: export svc_sock_enqueue, svc_sock_received Date: Tue, 21 Aug 2007 12:03:15 -0400 Message-ID: <46CB0CC3.8080102@oracle.com> References: <20070820162000.15224.65524.stgit@dell3.ogc.int> <20070820162334.15224.17433.stgit@dell3.ogc.int> Reply-To: chuck.lever@oracle.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020909050407080104030501" Cc: nfs@lists.sourceforge.net To: Tom Tucker Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1INWCm-0001W5-Rp for nfs@lists.sourceforge.net; Tue, 21 Aug 2007 09:03:45 -0700 Received: from rgminet01.oracle.com ([148.87.113.118]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1INWCm-0008Ns-MW for nfs@lists.sourceforge.net; Tue, 21 Aug 2007 09:03:48 -0700 In-Reply-To: <20070820162334.15224.17433.stgit@dell3.ogc.int> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net This is a multi-part message in MIME format. --------------020909050407080104030501 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Tom Tucker wrote: > Export svc_sock_enqueue() and svc_sock_received() so they > can be used by sunrpc server transport implementations > (even future modular ones). > > Signed-off-by: Greg Banks > Signed-off-by: Peter Leckie > Signed-off-by: Tom Tucker > --- > > include/linux/sunrpc/svcsock.h | 2 ++ > net/sunrpc/svcsock.c | 7 ++++--- > 2 files changed, 6 insertions(+), 3 deletions(-) > > diff --git a/include/linux/sunrpc/svcsock.h b/include/linux/sunrpc/svcsock.h > index 4e24e6d..0145057 100644 > --- a/include/linux/sunrpc/svcsock.h > +++ b/include/linux/sunrpc/svcsock.h > @@ -108,6 +108,8 @@ int svc_addsock(struct svc_serv *serv, > int fd, > char *name_return, > int *proto); > +void svc_sock_enqueue(struct svc_sock *svsk); > +void svc_sock_received(struct svc_sock *svsk); If these aren't socket-specific, then I would rename them, and move them to a generic source file instead of keeping them in svcsock.c and svcsock.h. --------------020909050407080104030501 Content-Type: text/x-vcard; charset=utf-8; name="chuck.lever.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="chuck.lever.vcf" begin:vcard fn:Chuck Lever n:Lever;Chuck org:Oracle Corporation;Corporate Architecture: Linux Projects Group adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA title:Principal Member of Staff tel;work:+1 248 614 5091 x-mozilla-html:FALSE url:http://oss.oracle.com/~cel version:2.1 end:vcard --------------020909050407080104030501 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ --------------020909050407080104030501 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs --------------020909050407080104030501--