From: Xiaowei Hu <xiaowei.hu@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH] make ocfs2 do not log ENOENT error
Date: Mon, 27 Jan 2014 02:58:44 -0800 (PST) [thread overview]
Message-ID: <e6fe73ea-cc71-44d4-b239-07221837f7d1@default> (raw)
Sorry for missing that.
signed-off-by: xiaowei.hu at oracle.com
On Fri, 24 Jan 2014 14:11:09 +0800 xiaowei.hu at oracle.com wrote:
> From: "Xiaowei.Hu" <xiaowei.hu@oracle.com>
>
> suppress log message like this:
> (open_delete,8328,0):ocfs2_unlink:951 ERROR: status = -2
>
> Orabug:17445485
> ---
> fs/ocfs2/namei.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c
> index 0ba1cf0..ca6c5ba 100644
> --- a/fs/ocfs2/namei.c
> +++ b/fs/ocfs2/namei.c
> @@ -947,7 +947,7 @@ leave:
> ocfs2_free_dir_lookup_result(&orphan_insert);
> ocfs2_free_dir_lookup_result(&lookup);
>
> - if (status && (status != -ENOTEMPTY))
> + if (status && (status != -ENOTEMPTY) && (status != -ENOENT))
> mlog_errno(status);
>
> return status;
Please send a signed-off-by: for this patch.
next reply other threads:[~2014-01-27 10:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-27 10:58 Xiaowei Hu [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-01-24 6:11 [Ocfs2-devel] [PATCH] make ocfs2 do not log ENOENT error xiaowei.hu at oracle.com
2014-01-24 20:34 ` Andrew Morton
2014-02-17 1:04 ` xiaowei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e6fe73ea-cc71-44d4-b239-07221837f7d1@default \
--to=xiaowei.hu@oracle.com \
--cc=ocfs2-devel@oss.oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox