]> git.baikalelectronics.ru Git - kernel.git/commit
splice: always updated atime in direct splice
authorJens Axboe <jens.axboe@oracle.com>
Wed, 30 Jan 2008 11:24:48 +0000 (12:24 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 1 Feb 2008 08:26:32 +0000 (09:26 +0100)
commitc1c4f5261701a351918f06af3f9c72788df6d360
tree6958333e62e8000f52ba6d6d9a559faa1248d3c5
parent8396e971e248ee747b426426ea8af11aa7e88ea4
splice: always updated atime in direct splice

Andre Majorel <aym-xunil@teaser.fr> points out that if we only updated
the atime when we transfer some data, we deviate from the standard
of always updating the atime. So change splice to always call
file_accessed() even if splice_direct_to_actor() didn't transfer
any data.

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