[pnfs] [PATCH 2/5] Added comment reminding me to add a an ifdef

iyer at netapp.com iyer at netapp.com
Tue Apr 17 00:06:50 EDT 2007


From: Rahul Iyer <iyer at netapp.com>

Added a comment in xs_tcp_read_request to add an ifdef so that the v4.1
callback code is eliminated from earlier nfs versions

Signed-off-by: Rahul Iyer <iyer at netapp.com>
---
 net/sunrpc/xprtsock.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index 72cde3a..4d073f9 100644
--- a/net/sunrpc/xprtsock.c
+++ b/net/sunrpc/xprtsock.c
@@ -686,6 +686,8 @@ static inline void xs_tcp_read_request(struct rpc_xprt *xprt, skb_reader_t *desc
 
 	/* Find and lock the request corresponding to this xid */
 	spin_lock(&xprt->transport_lock);
+	/* XXX Needs a #ifdef for v4.1
+	 */
 	if (xprt->tcp_calldir == RPC_CALL) {
 		dprintk("Callback received on backchannel!\n");
 		spin_unlock(&xprt->transport_lock);
-- 
1.5.0.2


More information about the pNFS mailing list