Re: [PATCH] relay: fix bogus cast in subbuf_splice_actor()

2007-07-11 Thread Jens Axboe
On Wed, Jul 11 2007, Tom Zanussi wrote: > 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. Thanks Tom, I just added this for my upstream branch, if you submit it directly first,

[PATCH] relay: fix bogus cast in subbuf_splice_actor()

2007-07-11 Thread Tom Zanussi
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 <[EMAIL PROTECTED]> --- relay.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git