Skip to content
Commit 24da24de authored by Tom Zanussi's avatar Tom Zanussi Committed by Jens Axboe
Browse files

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: default avatarTom Zanussi <zanussi@us.ibm.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 77320894
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment