summaryrefslogtreecommitdiff
path: root/include/linux/pipe_fs_i.h
diff options
context:
space:
mode:
authorNick Piggin <npiggin@suse.de>2007-03-27 08:55:39 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-03-27 08:55:39 +0200
commit08c72591636829d40bd695d43ec6d2a8191b668b (patch)
treeded334291dfd9b3e72727fd4d71c8036bfd911f9 /include/linux/pipe_fs_i.h
parent485ddb4b9741bafb70b22e5c1f9b4f37dc3e85bd (diff)
downloadlwn-08c72591636829d40bd695d43ec6d2a8191b668b.tar.gz
lwn-08c72591636829d40bd695d43ec6d2a8191b668b.zip
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 <npiggin@suse.de> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/pipe_fs_i.h')
0 files changed, 0 insertions, 0 deletions