Skip to content

Commit

Permalink
splice: fix misleading comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jens Axboe committed May 12, 2009
1 parent e458824 commit 2b1ccc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/linux/splice.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
#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_NONBLOCK (0x02) /* don't block on the pipe splicing (but */
Expand Down

0 comments on commit 2b1ccc0

Please sign in to comment.