]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ca2164523de29d70c72a98c53b8779d4bdb1f5b
tree9e301ba4ebf3b34a00228c26977feebfba8ad9ef
parent51bf7fadbb9906934ddacc40808ca508ff4d40d8
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