From 4e6e5d56231694bbbef35bd13fb74a5def0f80eb Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 7 Aug 2004 14:21:58 +0000 Subject: [PATCH] - minor cleanups --- lustre/ldlm/ldlm_lib.c | 2 +- lustre/ldlm/ldlm_request.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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; -- 1.8.3.1