]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] vmsplice: fix badly placed end paranthesis
authorJens Axboe <axboe@suse.de>
Tue, 2 May 2006 10:57:18 +0000 (12:57 +0200)
committerJens Axboe <axboe@suse.de>
Tue, 2 May 2006 10:57:18 +0000 (12:57 +0200)
commit7591489a8fbee83f19bacc75756989a6a4d0389c
treeec185e3788e3c3f123ff3ee00b18441467eb4486
parent532f57da408c5a5710075d17047e2d97bdfd22f3
[PATCH] vmsplice: fix badly placed end paranthesis

We need to use the minium of {len, PAGE_SIZE-off}, not {len, PAGE_SIZE}-off.
The latter doesn't make any sense, and could cause us to attempt negative
length transfers...

Signed-off-by: Jens Axboe <axboe@suse.de>
fs/splice.c