<div dir="ltr">Acked-by: Sunil Mushran &lt;<a href="mailto:sunil.mushran@gmail.com">sunil.mushran@gmail.com</a>&gt;<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 20, 2013 at 8:06 AM, Goldwyn Rodrigues <span dir="ltr">&lt;<a href="mailto:rgoldwyn@gmail.com" target="_blank">rgoldwyn@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">While removing a non-empty directory, the kernel dumps a message:<br>
(rmdir,21743,1):ocfs2_unlink:953 ERROR: status = -39<br>
<br>
Suppress the error message from being printed in the dmesg so users<br>
don&#39;t panic.<br>
<br>
Signed-off-by: Goldwyn Rodrigues &lt;<a href="mailto:rgoldwyn@suse.com">rgoldwyn@suse.com</a>&gt;<br>
<br>
---<br>
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c<br>
index 04ee1b5..33c7b91 100644<br>
--- a/fs/ocfs2/namei.c<br>
+++ b/fs/ocfs2/namei.c<br>
@@ -947,7 +947,7 @@ leave:<br>
  ocfs2_free_dir_lookup_result(&amp;orphan_insert);<br>
  ocfs2_free_dir_lookup_result(&amp;lookup);<br>
<br>
- if (status)<br>
+ if (status &amp;&amp; (status != -ENOTEMPTY))<br>
  mlog_errno(status);<br>
<br>
  return status;<br>
<br>
_______________________________________________<br>
Ocfs2-devel mailing list<br>
<a href="mailto:Ocfs2-devel@oss.oracle.com">Ocfs2-devel@oss.oracle.com</a><br>
<a href="https://oss.oracle.com/mailman/listinfo/ocfs2-devel" target="_blank">https://oss.oracle.com/mailman/listinfo/ocfs2-devel</a><br>
</blockquote></div><br></div>