• N
    2/2 splice: dont readpage · 08c72591
    Nick Piggin 提交于
    Splice does not need to readpage to bring the page uptodate before writing
    to it, because prepare_write will take care of that for us.
    
    Splice is also wrong to SetPageUptodate before the page is actually uptodate.
    This results in the old uninitialised memory leak. This gets fixed as a
    matter of course when removing the readpage logic.
    Signed-off-by: NNick Piggin <npiggin@suse.de>
    Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
    08c72591
splice.c 35.0 KB