commit | 24da24de2eae0c277b85836e2b4b09cfafeea995 | [log] [tgz] |
---|---|---|
author | Tom Zanussi <zanussi@us.ibm.com> | Thu Jul 12 08:12:04 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Fri Jul 13 14:14:26 2007 +0200 |
tree | c7025d1fd59c116584e166d8e2c7e455718fd056 | |
parent | 773208946a132fb733ba273ee8562814f828cc28 [diff] |
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 <zanussi@us.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>