aboutsummaryrefslogtreecommitdiffstats
path: root/sound/parisc
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2007-06-07 09:36:00 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-06-08 08:34:05 +0200
commit475ecade683566b19ebb84972de864039ac5fce3 (patch)
treecd2043c6c951c440988be8057380dfaab1ceb481 /sound/parisc
parent20d698db67059a63d217030dfd02872cb5f88dfb (diff)
downloadkernel_samsung_smdk4412-475ecade683566b19ebb84972de864039ac5fce3.zip
kernel_samsung_smdk4412-475ecade683566b19ebb84972de864039ac5fce3.tar.gz
kernel_samsung_smdk4412-475ecade683566b19ebb84972de864039ac5fce3.tar.bz2
splice: __generic_file_splice_read: fix i_size_read() length checks
__generic_file_splice_read's partial page check, at eof after readpage, not only got its calculations wrong, but also reused the loff variable: causing data corruption when splicing from a non-0 offset in the file's last page (revealed by ext2 -b 1024 testing on a loop of a tmpfs file). Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions