lkml.org 
[lkml]   [2008]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 1/4] splice: fix comment
From: Miklos Szeredi <mszeredi@suse.cz>

Clearing SPLICE_F_NONBLOCK means: block.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
---
fs/splice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/fs/splice.c
===================================================================
--- linux-2.6.orig/fs/splice.c 2008-07-30 13:52:35.000000000 +0200
+++ linux-2.6/fs/splice.c 2008-07-30 13:52:40.000000000 +0200
@@ -987,7 +987,7 @@ ssize_t splice_direct_to_actor(struct fi
flags = sd->flags;

/*
- * Don't block on output, we have to drain the direct pipe.
+ * Block on output, we have to drain the direct pipe.
*/
sd->flags &= ~SPLICE_F_NONBLOCK;

--


\
 
 \ /
  Last update: 2008-07-30 15:13    [W:0.036 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site