diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-06-14 07:08:55 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-10 02:04:12 -0400 |
commit | 6a14b90bb6bc7cd83e2a444bf457a2ea645cbfe7 (patch) | |
tree | c6f2788cbafd29bdf520c0b2a232818f4d62ec9d /fs/ocfs2/file.c | |
parent | c66ab6fa705e1b2887a6d9246b798bdc526839e2 (diff) |
vmsplice: add vmsplice-to-user support
A bit of a cheat, it actually just copies the data to userspace. But
this makes the interface nice and symmetric and enables people to build
on splice, with room for future improvement in performance.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs/ocfs2/file.c')
-rw-r--r-- | fs/ocfs2/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 93565c03d315..222f108ee454 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c | |||
@@ -1640,7 +1640,7 @@ static ssize_t __ocfs2_file_splice_write(struct pipe_inode_info *pipe, | |||
1640 | .total_len = len, | 1640 | .total_len = len, |
1641 | .flags = flags, | 1641 | .flags = flags, |
1642 | .pos = *ppos, | 1642 | .pos = *ppos, |
1643 | .file = out, | 1643 | .u.file = out, |
1644 | }; | 1644 | }; |
1645 | 1645 | ||
1646 | ret = __splice_from_pipe(pipe, &sd, ocfs2_splice_write_actor); | 1646 | ret = __splice_from_pipe(pipe, &sd, ocfs2_splice_write_actor); |