From: alex Date: Sat, 7 Aug 2004 14:21:58 +0000 (+0000) Subject: - minor cleanups X-Git-Tag: 1.3.4~498 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4e6e5d56231694bbbef35bd13fb74a5def0f80eb;p=fs%2Flustre-release.git - minor cleanups --- diff --git a/lustre/ldlm/ldlm_lib.c b/lustre/ldlm/ldlm_lib.c index c75f9d3..fb70b65 100644 --- a/lustre/ldlm/ldlm_lib.c +++ b/lustre/ldlm/ldlm_lib.c @@ -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; diff --git a/lustre/ldlm/ldlm_request.c b/lustre/ldlm/ldlm_request.c index ec5f8d4..a18115b8 100644 --- a/lustre/ldlm/ldlm_request.c +++ b/lustre/ldlm/ldlm_request.c @@ -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;