Commit 7aca4ae3 authored by wang di's avatar wang di Committed by Greg Kroah-Hartman

staging: lustre: mdc: always use D_INFO for debug info when mdc_put_rpc_lock fails

Also use D_INFO no matter what the error returned from
mdc_put_rpc_lock.
Signed-off-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Signed-off-by: default avatarwang di <di.wang@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4973
Reviewed-on: http://review.whamcloud.com/10150Reviewed-by: default avatarMike Pershin <mike.pershin@intel.com>
Signed-off-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d806f30e
......@@ -841,9 +841,8 @@ int mdc_enqueue(struct obd_export *exp, struct ldlm_enqueue_info *einfo,
mdc_put_rpc_lock(obddev->u.cli.cl_rpc_lock, it);
if (rc < 0) {
CDEBUG_LIMIT((rc == -EACCES || rc == -EIDRM) ? D_INFO : D_ERROR,
"%s: ldlm_cli_enqueue failed: rc = %d\n",
obddev->obd_name, rc);
CDEBUG(D_INFO, "%s: ldlm_cli_enqueue failed: rc = %d\n",
obddev->obd_name, rc);
mdc_clear_replay_flag(req, rc);
ptlrpc_req_finished(req);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment