From d6f9042bd79c43a628316f0afc503120b510e9e0 Mon Sep 17 00:00:00 2001 From: adilger Date: Sun, 24 Aug 2008 08:58:15 +0000 Subject: [PATCH] Branch b1_8_gate Quiet compiler warnings. b=15981 i=robert.read i=adilger (girish.shilamkar original patch) --- lustre/ldlm/ldlm_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/ldlm/ldlm_request.c b/lustre/ldlm/ldlm_request.c index 1ea22a8..63db00a 100644 --- a/lustre/ldlm/ldlm_request.c +++ b/lustre/ldlm/ldlm_request.c @@ -1984,7 +1984,7 @@ static int replay_one_lock(struct obd_import *imp, struct ldlm_lock *lock) atomic_inc(&req->rq_import->imp_replay_inflight); CLASSERT(sizeof(*aa) <= sizeof(req->rq_async_args)); - aa = (struct ldlm_async_args *)&req->rq_async_args; + aa = ptlrpc_req_async_args(req); aa->lock_handle = body->lock_handle[0]; req->rq_interpret_reply = replay_lock_interpret; ptlrpcd_add_req(req); -- 1.8.3.1