]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit8084870854fe181996c4aa4f44cb2fabcebf164c
tree6958333e62e8000f52ba6d6d9a559faa1248d3c5
parent13f09b95a82c46ed608d057b22e0dd18ebfff22a
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