[rfc patch 1/4] splice: fix comment

From: Miklos Szeredi
Date: Sat Jun 21 2008 - 11:49:13 EST


From: Miklos Szeredi <mszeredi@xxxxxxx>

Clearing SPLICE_F_NONBLOCK means: block.

Signed-off-by: Miklos Szeredi <mszeredi@xxxxxxx>
---
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-06-19 14:58:10.000000000 +0200
+++ linux-2.6/fs/splice.c 2008-06-20 13:12:37.000000000 +0200
@@ -978,7 +978,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;


--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/