From: Nick Piggin Date: Tue, 27 Mar 2007 06:55:39 +0000 (+0200) Subject: 2/2 splice: dont readpage X-Git-Tag: v2.6.21-rc6~89^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08c72591636829d40bd695d43ec6d2a8191b668b;p=pandora-kernel.git 2/2 splice: dont readpage 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: Nick Piggin Signed-off-by: Jens Axboe --- Reading git-diff-tree failed