diff options
author | Hugh Dickins <hugh@veritas.com> | 2007-06-04 08:00:39 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-10 06:04:15 (GMT) |
commit | ae976416464b741913a13eea62eb6953ee065733 (patch) | |
tree | 48ac14023b494c9f6522ad390f60e4decac41ac3 /include/sound/mpu401.h | |
parent | 1db60cf2056511c7c8cebcbaee308ef6c79b4728 (diff) | |
download | linux-fsl-qoriq-ae976416464b741913a13eea62eb6953ee065733.tar.xz |
shmem: convert to using splice instead of sendfile()
Remove shmem_file_sendfile and resurrect shmem_readpage, as used by tmpfs
to support loop and sendfile in 2.4 and 2.5. Now tmpfs can support splice,
loop and sendfile in the simplest way, using generic_file_splice_read and
generic_file_splice_write (with the aid of shmem_prepare_write).
We could make some efficiency tweaks later, if there's a real need;
but this is stable and works well as is.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/sound/mpu401.h')
0 files changed, 0 insertions, 0 deletions