Skip to contentSkip to conversation

+ fs-ocfs2-nameic-remove-unecessary-error-when-removing-non-empty-directory.patch added to -mm tree

PATCH [email protected] 1 participant 1 message May 20, 2013 OCFS2

lore
Share & tools
lore
#0 lore raw

Subject: + fs-ocfs2-nameic-remove-unecessary-error-when-removing-non-empty-directory.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 20 May 2013 15:38:53 -0700

The patch titled
Subject: fs/ocfs2/namei.c: remove unecessary ERROR when removing non-empty directory
has been added to the -mm tree. Its filename is
fs-ocfs2-nameic-remove-unecessary-error-when-removing-non-empty-directory.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Goldwyn Rodrigues <[email protected]>
Subject: fs/ocfs2/namei.c: remove unecessary ERROR when removing non-empty directory

While removing a non-empty directory, the kernel dumps a message:
(rmdir,21743,1):ocfs2_unlink:953 ERROR: status = -39

Suppress the error message from being printed in the dmesg so users don't panic.

---

 fs/ocfs2/namei.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/namei.c renamed from fs/ocfs2/namei.c~fs-ocfs2-nameic-remove-unecessary-error-when-removing-non-empty-directory +1 -1
diff -puN fs/ocfs2/namei.c~fs-ocfs2-nameic-remove-unecessary-error-when-removing-non-empty-directory fs/ocfs2/namei.c
@@ -947,7 +947,7 @@ leave:
 	ocfs2_free_dir_lookup_result(&orphan_insert);
 	ocfs2_free_dir_lookup_result(&lookup);
 
-	if (status)
+	if (status && (status != -ENOTEMPTY))
 		mlog_errno(status);
 
 	return status;

_

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

fs-ocfs2-nameic-remove-unecessary-error-when-removing-non-empty-directory.patch