Whamcloud - gitweb
- minor cleanups
authoralex <alex>
Sat, 7 Aug 2004 14:21:58 +0000 (14:21 +0000)
committeralex <alex>
Sat, 7 Aug 2004 14:21:58 +0000 (14:21 +0000)
lustre/ldlm/ldlm_lib.c
lustre/ldlm/ldlm_request.c

index c75f9d3..fb70b65 100644 (file)
@@ -806,7 +806,7 @@ static void target_finish_recovery(struct obd_device *obd)
 
 static int check_for_next_transno(struct obd_device *obd)
 {
-        struct ptlrpc_request *req;
+        struct ptlrpc_request *req = NULL;
         int wake_up = 0, connected, completed, queue_len, max;
         __u64 next_transno, req_transno;
 
index ec5f8d4..a18115b 100644 (file)
@@ -338,10 +338,10 @@ int ldlm_cli_enqueue(struct obd_export *exp,
                 GOTO(cleanup, rc = -EPROTO);
         }
 
-        /* XXX - Phil, wasn't sure if this shoiuld go before or after the
-        /* lustre_swab_repbuf() ? If we can't unpack the reply then we
-        /* don't know what occurred on the server so I think the safest
-        /* bet is to cleanup the lock as if it didn't make it ? */
+        /* XXX - Phil, wasn't sure if this should go before or after the
+         * lustre_swab_repbuf() ? If we can't unpack the reply then we
+         * don't know what occurred on the server so I think the safest
+         * bet is to cleanup the lock as if it didn't make it ? */
 
         /* lock enqueued on the server */
         cleanup_phase = 1;