[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lustre-cvs
Subject:    [Lustre-cvs] CVS: obd/osc osc_request.c,1.42.2.13,1.42.2.14
From:       Phil Schwan <pschwan () users ! sourceforge ! net>
Date:       2002-04-29 21:49:06
[Download RAW message or body]

Update of /cvsroot/lustre/obd/osc
In directory usw-pr-cvs1:/tmp/cvs-serv28223/osc

Modified Files:
      Tag: ldlm_testing
	osc_request.c 
Log Message:
Moving the last few days' changes to the ldlm_testing branch.


Index: osc_request.c
===================================================================
RCS file: /cvsroot/lustre/obd/osc/osc_request.c,v
retrieving revision 1.42.2.13
retrieving revision 1.42.2.14
diff -u -r1.42.2.13 -r1.42.2.14
--- osc_request.c	29 Apr 2002 21:40:37 -0000	1.42.2.13
+++ osc_request.c	29 Apr 2002 21:49:04 -0000	1.42.2.14
@@ -640,9 +640,9 @@
         if (osc->osc_ldlm_client == NULL)
                 GOTO(out_client, rc = -ENOMEM);
 
-        ptlrpc_init_client(NULL, OST_REQUEST_PORTAL, OSC_REPLY_PORTAL,
+        ptlrpc_init_client(NULL, NULL, OST_REQUEST_PORTAL, OSC_REPLY_PORTAL,
                            osc->osc_client);
-        ptlrpc_init_client(NULL, LDLM_REQUEST_PORTAL, LDLM_REPLY_PORTAL,
+        ptlrpc_init_client(NULL, NULL, LDLM_REQUEST_PORTAL, LDLM_REPLY_PORTAL,
                            osc->osc_ldlm_client);
 
         MOD_INC_USE_COUNT;
@@ -659,7 +659,9 @@
 {
         struct osc_obd *osc = &obddev->u.osc;
 
+        ptlrpc_cleanup_client(osc->osc_client);
         OBD_FREE(osc->osc_client, sizeof(*osc->osc_client));
+        ptlrpc_cleanup_client(osc->osc_ldlm_client);
         OBD_FREE(osc->osc_ldlm_client, sizeof(*osc->osc_ldlm_client));
         ptlrpc_put_connection(osc->osc_conn);
 


_______________________________________________
Lustre-cvs mailing list
Lustre-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lustre-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic