diff options
author | Jens Axboe <axboe@suse.de> | 2006-05-02 15:03:27 +0200 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2006-05-02 15:03:27 +0200 |
commit | a893b99be71f1d669b74f840e3a683dd077d007b (patch) | |
tree | 79591f70b57ef4504dc5c9584b7d8fcaa04faede /fs/pipe.c | |
parent | 7591489a8fbee83f19bacc75756989a6a4d0389c (diff) | |
download | lwn-a893b99be71f1d669b74f840e3a683dd077d007b.tar.gz lwn-a893b99be71f1d669b74f840e3a683dd077d007b.zip |
[PATCH] splice: fix page LRU accounting
Currently we rely on the PIPE_BUF_FLAG_LRU flag being set correctly
to know whether we need to fiddle with page LRU state after stealing it,
however for some origins we just don't know if the page is on the LRU
list or not.
So remove PIPE_BUF_FLAG_LRU and do this check/add manually in pipe_to_file()
instead.
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'fs/pipe.c')
0 files changed, 0 insertions, 0 deletions