[pnfs] [PATCH 3/3] nfs41: bc_svc_process() only makes sense if CONFIG_NFS_V4_1 is defined

Ricardo Labiaga Ricardo.Labiaga at netapp.com
Wed May 14 21:27:04 EDT 2008


Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga at netapp.com>
---
 net/sunrpc/svc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index b83565a..a21dd9a 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -1103,6 +1103,7 @@ svc_process(struct svc_rqst *rqstp)
 	return svc_send(rqstp);
 }
 
+#if defined(CONFIG_NFS_V4_1)
 /*
  * Process a backchannel RPC request that arrived over an existing
  * outbound connection
@@ -1149,6 +1150,7 @@ bc_svc_process(struct svc_serv *serv, struct rpc_rqst *req,
 	return bc_send(req);
 }
 EXPORT_SYMBOL(bc_svc_process);
+#endif /* CONFIG_NFS_V4_1 */
 
 /*
  * Return (transport-specific) limit on the rpc payload.
-- 
1.5.2.2



More information about the pNFS mailing list