* [Ocfs2-devel] [PATCH] make ocfs2 do not log ENOENT error
@ 2014-01-24 6:11 xiaowei.hu at oracle.com
2014-01-24 20:34 ` Andrew Morton
0 siblings, 1 reply; 4+ messages in thread
From: xiaowei.hu at oracle.com @ 2014-01-24 6:11 UTC (permalink / raw)
To: ocfs2-devel
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;
--
1.8.4.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Ocfs2-devel] [PATCH] make ocfs2 do not log ENOENT error
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
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2014-01-24 20:34 UTC (permalink / raw)
To: ocfs2-devel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Ocfs2-devel] [PATCH] make ocfs2 do not log ENOENT error
@ 2014-01-27 10:58 Xiaowei Hu
0 siblings, 0 replies; 4+ messages in thread
From: Xiaowei Hu @ 2014-01-27 10:58 UTC (permalink / raw)
To: ocfs2-devel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Ocfs2-devel] [PATCH] make ocfs2 do not log ENOENT error
2014-01-24 20:34 ` Andrew Morton
@ 2014-02-17 1:04 ` xiaowei
0 siblings, 0 replies; 4+ messages in thread
From: xiaowei @ 2014-02-17 1:04 UTC (permalink / raw)
To: ocfs2-devel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-02-17 1:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
-- strict thread matches above, loose matches on Subject: below --
2014-01-27 10:58 Xiaowei Hu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.