tmpfs: clone shmem_file_splice_read()
authorHugh Dickins <hughd@google.com>
Tue, 26 Jul 2011 00:12:32 +0000 (17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:11 +0000 (20:57 -0700)
commit708e3508c2a2204cc276dcdb543009a441bfe91b
tree9e301ba4ebf3b34a00228c26977feebfba8ad9ef
parent2efaca927f5cd7ecd0f1554b8f9b6a9a2c329c03
tmpfs: clone shmem_file_splice_read()

Copy __generic_file_splice_read() and generic_file_splice_read() from
fs/splice.c to shmem_file_splice_read() in mm/shmem.c.  Make
page_cache_pipe_buf_ops and spd_release_page() accessible to it.

Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Jens Axboe <jaxboe@fusionio.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/splice.c
include/linux/splice.h
mm/shmem.c