From: Jinshan Xiong Date: Mon, 20 May 2013 18:38:24 +0000 (-0700) Subject: LU-3359 osc: fixed a typo in osc_cache_truncate_start X-Git-Tag: 2.4.51~78 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=5a3610b711efff16cd14a098aa20f87a7055ba1a 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 --- 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;