diff options
| author | Xiaowei.Hu <xiaowei.hu@oracle.com> | 2014-01-27 20:06:56 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-28 00:02:39 -0500 |
| commit | f5b258550f3c4e74901fcb71daf3aea454d694ae (patch) | |
| tree | 4823051529d54d4dfa9837146c05dda6e3e9b1b8 | |
| parent | e82cb95d626a6bb0e4fe7db1f311dc22039c2ed3 (diff) | |
ocfs2: do not log ENOENT in unlink()
Suppress log message like this: (open_delete,8328,0):ocfs2_unlink:951
ERROR: status = -2
Orabug:17445485
Signed-off-by: Xiaowei Hu <xiaowei.hu@oracle.com>
Cc: Joe Jin <joe.jin@oracle.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -rw-r--r-- | fs/ocfs2/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index 4f791f6d27d0..41513a4e98e4 100644 --- a/fs/ocfs2/namei.c +++ b/fs/ocfs2/namei.c | |||
| @@ -948,7 +948,7 @@ leave: | |||
| 948 | ocfs2_free_dir_lookup_result(&orphan_insert); | 948 | ocfs2_free_dir_lookup_result(&orphan_insert); |
| 949 | ocfs2_free_dir_lookup_result(&lookup); | 949 | ocfs2_free_dir_lookup_result(&lookup); |
| 950 | 950 | ||
| 951 | if (status && (status != -ENOTEMPTY)) | 951 | if (status && (status != -ENOTEMPTY) && (status != -ENOENT)) |
| 952 | mlog_errno(status); | 952 | mlog_errno(status); |
| 953 | 953 | ||
| 954 | return status; | 954 | return status; |
