Commit e49634bb authored by Andreas Dilger's avatar Andreas Dilger Committed by Greg Kroah-Hartman

staging/lustre: quiet console permission error messages

Quiet some common console error messages for permission errors
that can be hit in common cases.
Signed-off-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Reviewed-on: http://review.whamcloud.com/8988
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4522Reviewed-by: default avatarJinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: default avatarFaccini Bruno <bruno.faccini@intel.com>
Reviewed-by: default avatarBob Glossman <bob.glossman@intel.com>
Signed-off-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0be19afa
...@@ -2882,7 +2882,8 @@ static int ll_inode_revalidate_fini(struct inode *inode, int rc) ...@@ -2882,7 +2882,8 @@ static int ll_inode_revalidate_fini(struct inode *inode, int rc)
if (!S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode)) if (!S_ISREG(inode->i_mode) && !S_ISDIR(inode->i_mode))
return 0; return 0;
} else if (rc != 0) { } else if (rc != 0) {
CERROR("%s: revalidate FID "DFID" error: rc = %d\n", CDEBUG_LIMIT((rc == -EACCES || rc == -EIDRM) ? D_INFO : D_ERROR,
"%s: revalidate FID "DFID" error: rc = %d\n",
ll_get_fsname(inode->i_sb, NULL, 0), ll_get_fsname(inode->i_sb, NULL, 0),
PFID(ll_inode2fid(inode)), rc); PFID(ll_inode2fid(inode)), rc);
} }
......
...@@ -893,7 +893,10 @@ int mdc_enqueue(struct obd_export *exp, struct ldlm_enqueue_info *einfo, ...@@ -893,7 +893,10 @@ int mdc_enqueue(struct obd_export *exp, struct ldlm_enqueue_info *einfo,
mdc_put_rpc_lock(obddev->u.cli.cl_rpc_lock, it); mdc_put_rpc_lock(obddev->u.cli.cl_rpc_lock, it);
if (rc < 0) { if (rc < 0) {
CERROR("ldlm_cli_enqueue: %d\n", rc); CDEBUG_LIMIT((rc == -EACCES || rc == -EIDRM) ? D_INFO : D_ERROR,
"%s: ldlm_cli_enqueue failed: rc = %d\n",
obddev->obd_name, rc);
mdc_clear_replay_flag(req, rc); mdc_clear_replay_flag(req, rc);
ptlrpc_req_finished(req); ptlrpc_req_finished(req);
return rc; return rc;
......
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