From 7e1fc3f4017488446fef1b6311a9f4caae41c1c0 Mon Sep 17 00:00:00 2001 From: johann Date: Mon, 9 Feb 2009 15:31:06 +0000 Subject: [PATCH] Branch HEAD b=18067 i=johann i=adilger Change oap magic LASSERT into LASSERTF to aid debugging. --- lustre/osc/osc_request.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index 1f7e465..fa7d01f 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -2147,7 +2147,8 @@ osc_send_oap_rpc(const struct lu_env *env, struct client_obd *cli, oap_pending_item) { ops = oap->oap_caller_ops; - LASSERT(oap->oap_magic == OAP_MAGIC); + LASSERTF(oap->oap_magic == OAP_MAGIC, "Bad oap magic: oap %p, " + "magic 0x%x\n", oap, oap->oap_magic); if (clob == NULL) { /* pin object in memory, so that completion call-backs -- 1.8.3.1