Skip to contentSkip to conversation

ocfs2-do-not-log-enoent-in-unlink.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jan 28, 2014 OCFS2

lore
Share & tools
lore
#0 lore raw

Subject: [merged] ocfs2-do-not-log-enoent-in-unlink.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 28 Jan 2014 11:09:13 -0800

The patch titled
Subject: ocfs2: do not log ENOENT in unlink()
has been removed from the -mm tree. Its filename was
ocfs2-do-not-log-enoent-in-unlink.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: "Xiaowei.Hu" <[email protected]>
Subject: ocfs2: do not log ENOENT in unlink()

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(-)
fs/ocfs2/namei.c renamed from fs/ocfs2/namei.c~ocfs2-do-not-log-enoent-in-unlink +1 -1
diff -puN fs/ocfs2/namei.c~ocfs2-do-not-log-enoent-in-unlink fs/ocfs2/namei.c
@@ -948,7 +948,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;

_

Patches currently in -mm which might be from [email protected] are

origin.patch