From: Tom Zanussi Date: Thu, 12 Jul 2007 06:12:04 +0000 (+0200) Subject: relay: fix bogus cast in subbuf_splice_actor() X-Git-Tag: v2.6.23-rc1~1078^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24da24de2eae0c277b85836e2b4b09cfafeea995;p=pandora-kernel.git relay: fix bogus cast in subbuf_splice_actor() The current code that sets the read position in subbuf_splice_actor may give erroneous results if the buffer size isn't a power of 2. This patch fixes the problem. Signed-off-by: Tom Zanussi Signed-off-by: Jens Axboe --- Reading git-diff-tree failed