Ver código fonte

splice: fix misleading comment

Splice is tied to pipes by design, it'll not change. And now that
the splice stuff is in splice.h (and note pipe.h), the rest of the comment
is out-of-date as well.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Jens Axboe 16 anos atrás
pai
commit
2b1ccc0ee9
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      include/linux/splice.h

+ 1 - 2
include/linux/splice.h

@@ -11,8 +11,7 @@
 #include <linux/pipe_fs_i.h>
 #include <linux/pipe_fs_i.h>
 
 
 /*
 /*
- * splice is tied to pipes as a transport (at least for now), so we'll just
- * add the splice flags here.
+ * Flags passed in from splice/tee/vmsplice
  */
  */
 #define SPLICE_F_MOVE	(0x01)	/* move pages instead of copying */
 #define SPLICE_F_MOVE	(0x01)	/* move pages instead of copying */
 #define SPLICE_F_NONBLOCK (0x02) /* don't block on the pipe splicing (but */
 #define SPLICE_F_NONBLOCK (0x02) /* don't block on the pipe splicing (but */