]> err.no Git - linux-2.6/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)
commit534f2aaa6ab07cd71164180bc958a7dcde41db11
tree4c2557f4c4c3913bbc5e282c98559ef70b92fd4b
parent6a14b90bb6bc7cd83e2a444bf457a2ea645cbfe7
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