From: xiaowei <xiaowei.hu@oracle.com>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH] make ocfs2 do not log ENOENT error
Date: Mon, 17 Feb 2014 09:04:23 +0800 [thread overview]
Message-ID: <53016017.1030508@oracle.com> (raw)
In-Reply-To: <20140124123455.d9c8a1e1e41ff0eb5a51238b@linux-foundation.org>
Sorry for missing that.
signed-off-by: xiaowei.hu at oracle.com
Thanks
On 01/25/2014 04:34 AM, Andrew Morton wrote:
> 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 prev parent reply other threads:[~2014-02-17 1:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-01-27 10:58 Xiaowei Hu
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=53016017.1030508@oracle.com \
--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