]> git.baikalelectronics.ru Git - kernel.git/commit
sys_sendfile: switch to using ->splice_read, if available
authorJens Axboe <jens.axboe@oracle.com>
Fri, 1 Jun 2007 12:52:37 +0000 (14:52 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 10 Jul 2007 06:04:12 +0000 (08:04 +0200)
commit9bbe1beef596971e07f79ea7ee43a67100f2ffe0
tree4c2557f4c4c3913bbc5e282c98559ef70b92fd4b
parent90a3092fc8393d705754181e0350a48b1ae4b4fa
sys_sendfile: switch to using ->splice_read, if available

This patch makes sendfile prefer to use ->splice_read(), if it's
available in the file_operations structure.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/read_write.c