All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] Remove the printing of harmless ERRORS like ECONNRESET, EPIPE
@ 2007-03-29  0:01 tao.ma
  2007-03-29  8:31 ` Mark Fasheh
  0 siblings, 1 reply; 2+ messages in thread
From: tao.ma @ 2007-03-29  0:01 UTC (permalink / raw)
  To: ocfs2-devel

Remove the printing of harmless ERRORS like ECONNRESET, EPIPE.
For more details, see
http://oss.oracle.com/bugzilla/show_bug.cgi?id=865

The ocfs2 kernel source code in git tree don't have function
"ocfs2_file_sendfile", so this bug only exists in ocfs2-1.2 branch.


-------------- next part --------------
Index: fs/ocfs2/file.c
===================================================================
--- fs/ocfs2/file.c	(revision 3001)
+++ fs/ocfs2/file.c	(working copy)
@@ -368,8 +368,6 @@ static ssize_t ocfs2_file_sendfile(struc
 	down_read(&OCFS2_I(inode)->ip_alloc_sem);
 
 	ret = generic_file_sendfile(in_file, ppos, count, actor, target);
-	if (ret < 0)
-		mlog_errno(ret);
 
 	up_read(&OCFS2_I(inode)->ip_alloc_sem);
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-29  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-29  0:01 [Ocfs2-devel] Remove the printing of harmless ERRORS like ECONNRESET, EPIPE tao.ma
2007-03-29  8:31 ` Mark Fasheh

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.