From: Jinshan Xiong Date: Mon, 3 Jun 2013 13:40:58 +0000 (+0800) Subject: staging/lustre/osc: fixed a typo in osc_cache_truncate_start X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=451721cc08ef88db74c7de4283195fe6c2005d91;p=linux-beck.git staging/lustre/osc: fixed a typo in osc_cache_truncate_start Dump osc_extent waiting instead of ext in case error occurred. Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3359 Lustre-change: http://review.whamcloud.com/6402 Signed-off-by: Jinshan Xiong Reviewed-by: Lai Siyao Reviewed-by: Oleg Drokin Signed-off-by: Peng Tao Signed-off-by: Andreas Dilger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/osc/osc_cache.c b/drivers/staging/lustre/lustre/osc/osc_cache.c index c7889ab1acd9..0a0ec6f7d2dd 100644 --- a/drivers/staging/lustre/lustre/osc/osc_cache.c +++ b/drivers/staging/lustre/lustre/osc/osc_cache.c @@ -2699,7 +2699,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;