From 5a3610b711efff16cd14a098aa20f87a7055ba1a Mon Sep 17 00:00:00 2001 From: Jinshan Xiong Date: Mon, 20 May 2013 11:38:24 -0700 Subject: [PATCH] LU-3359 osc: fixed a typo in osc_cache_truncate_start Dump osc_extent waiting instead of ext in case error occurred. Signed-off-by: Jinshan Xiong Change-Id: I7df560a0aa83ddc6010cad1c51fa2013e941ae60 Reviewed-on: http://review.whamcloud.com/6402 Tested-by: Hudson Tested-by: Maloo Reviewed-by: Lai Siyao Reviewed-by: Oleg Drokin --- lustre/osc/osc_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/osc/osc_cache.c b/lustre/osc/osc_cache.c index 25d84d3..b462fcc 100644 --- a/lustre/osc/osc_cache.c +++ b/lustre/osc/osc_cache.c @@ -2698,7 +2698,7 @@ again: * should take care of it. */ rc = osc_extent_wait(env, waiting, OES_INV); if (rc < 0) - OSC_EXTENT_DUMP(D_CACHE, ext, "wait error: %d.\n", rc); + OSC_EXTENT_DUMP(D_CACHE, waiting, "error: %d.\n", rc); osc_extent_put(env, waiting); waiting = NULL; -- 1.8.3.1