From: johann Date: Mon, 9 Feb 2009 15:16:00 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_8_0_110~271 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=ebc4d4dfa50d3ca82eef3a53455dce8c805006e7;p=fs%2Flustre-release.git Branch b1_8 b=18067 i=johann i=adilger Change oap magic LASSERT into LASSERTF to aid debugging. --- diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index f194942..7b96c44 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -2181,7 +2181,8 @@ static int osc_send_oap_rpc(struct client_obd *cli, struct lov_oinfo *loi, list_for_each_entry_safe(oap, tmp, &lop->lop_pending, 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 (page_count != 0 && srvlock != !!(oap->oap_brw_flags & OBD_BRW_SRVLOCK)) {