2008-07-30 13:09:46

by Miklos Szeredi

[permalink] [raw]
Subject: [patch 1/4] splice: fix comment

From: Miklos Szeredi <[email protected]>

Clearing SPLICE_F_NONBLOCK means: block.

Signed-off-by: Miklos Szeredi <[email protected]>
---
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;


--